socsvn commit: r308179 - soc2016/yuanxunzhang/head/usr.sbin/eaps
yuanxunzhang at FreeBSD.org
yuanxunzhang at FreeBSD.org
Mon Aug 22 15:54:49 UTC 2016
Author: yuanxunzhang
Date: Mon Aug 22 15:54:47 2016
New Revision: 308179
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=308179
Log:
EAPS: fix set_eaps_hellotime bugs
Modified:
soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c
Modified: soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c
==============================================================================
--- soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c Mon Aug 22 15:38:39 2016 (r308178)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c Mon Aug 22 15:54:47 2016 (r308179)
@@ -331,7 +331,7 @@
strlcpy(es.ifname, domain_name, sizeof(es.ifname));
if (ioctl(s, SIOCSEAPSDOMAIN, &es) == 0) {
if (hellotime >= es.failtime) {
- err(1, "invalid failtime, hellotime must be greater than failtime");
+ err(1, "invalid hellotime, hellotime must be smaller than failtime");
}
}else {
printf("Debug print: ioctl failed!\n");
More information about the svn-soc-all
mailing list