Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2016 20:22:12 GMT
From:      yuanxunzhang@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r308212 - soc2016/yuanxunzhang/head/usr.sbin/eaps
Message-ID:  <201608222022.u7MKMC8E052680@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuanxunzhang
Date: Mon Aug 22 20:22:12 2016
New Revision: 308212
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=308212

Log:
  EAPS: implement add primary/secondary port 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	Mon Aug 22 20:20:30 2016	(r308211)
+++ soc2016/yuanxunzhang/head/usr.sbin/eaps/eaps.c	Mon Aug 22 20:22:12 2016	(r308212)
@@ -464,7 +464,7 @@
 	}
 
 	strlcpy(es.ifname, domain_name, sizeof(es.ifname));
-	strlcpy(es.p_port, port_name, sizeof(port_name));
+	strlcpy(es.p_port, port_name, sizeof(es.p_port));
 	if (ioctl(s, SIOCESAPSPRIMARY, &es) != 0)
 		err(1, "SIOCESAPSPRIMARY");
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608222022.u7MKMC8E052680>