socsvn commit: r308009 - soc2016/yuanxunzhang/head/usr.sbin/eaps
yuanxunzhang at FreeBSD.org
yuanxunzhang at FreeBSD.org
Fri Aug 19 10:50:40 UTC 2016
Author: yuanxunzhang
Date: Fri Aug 19 10:50:39 2016
New Revision: 308009
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=308009
Log:
EAPS: set switch mode interface
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 Fri Aug 19 10:49:13 2016 (r308008)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c Fri Aug 19 10:50:39 2016 (r308009)
@@ -246,10 +246,10 @@
char *mode = *(++argv);
printf("Debug print: the switch mode is %s!\n", mode);
-
+
//check the eaps switch mode
if ((mode != eaps_mode_message[EAPS_MODE_TRANSIT])
- || (mode != aps_mode_message[EAPS_MODE_MASTER])) {
+ || (mode != eaps_mode_message[EAPS_MODE_MASTER])) {
err(1, "Wrong swith mode, swith mode should be transit or master!\n");
}
More information about the svn-soc-all
mailing list