socsvn commit: r307679 - soc2016/yuanxunzhang/head/usr.sbin/eaps
yuanxunzhang at FreeBSD.org
yuanxunzhang at FreeBSD.org
Mon Aug 15 19:27:57 UTC 2016
Author: yuanxunzhang
Date: Mon Aug 15 19:27:56 2016
New Revision: 307679
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=307679
Log:
EAPS: query eaps domian status
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 15 19:20:20 2016 (r307678)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c Mon Aug 15 19:27:56 2016 (r307679)
@@ -37,6 +37,7 @@
#include <sys/socket.h>
#include <sys/sockio.h>
#include <net/if.h>
+#include <net/eaps.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
@@ -90,7 +91,7 @@
case K_DELETE:
delete_domain(argc, argv, s);
break;
- case K_DISPLAY:
+ case K_SHOW:
show_eaps_status(argc, argv, s);
break;
}
@@ -168,7 +169,7 @@
show_eaps_status(int argc, char **argv, int s)
{
struct eaps_reqall er;
- bzero(&ro, sizeof(ro));
+ bzero(&er, sizeof(er));
char *domain_name = *(++argv);
More information about the svn-soc-all
mailing list