socsvn commit: r304469 - soc2016/yuanxunzhang/head/usr.sbin/eaps

yuanxunzhang at FreeBSD.org yuanxunzhang at FreeBSD.org
Fri Jun 3 05:41:45 UTC 2016


Author: yuanxunzhang
Date: Fri Jun  3 05:41:43 2016
New Revision: 304469
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=304469

Log:
  freeBSD:EAPS development

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 Jun  3 05:38:54 2016	(r304468)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c	Fri Jun  3 05:41:43 2016	(r304469)
@@ -113,8 +113,15 @@
 
 	if (SLIST_EMPTY(&head)) {
 		printf("No eaps Configuration!\n");
+	} else {
+
+		/* Display EAPS information*/
+		SLIST_FOREACH(eaps, &head, eaps_entries) {
+			printf("\t%s:\n", eaps->eaps_name);
+		}
 	}
-	
+
+
 	exit(error);
 }
 


More information about the svn-soc-all mailing list