|
|
Obvious pasto. Ok?
Prompted by http://permalink.gmane.org/gmane.os.openbsd.misc/146066
- I'm also wondering if AUTHKEYLEN in sys/net/if_sppp.h might be a
little on the low side.
Index: ifconfig.c
===================================================================
RCS file: /cvs/src/sbin/ifconfig/ifconfig.c,v
retrieving revision 1.201
diff -u -p -r1.201 ifconfig.c
--- ifconfig.c 26 Jun 2008 05:42:06 -0000 1.201
+++ ifconfig.c 17 Jul 2008 07:49:57 -0000
@@ -3841,7 +3841,7 @@ setspppkey(const char *val, int d)
if (auth->proto == 0)
errx(1, "unspecified protocol");
if (strlcpy((char *)auth->secret, val, AUTHKEYLEN) >= AUTHKEYLEN)
- errx(1, "setspppname");
+ errx(1, "setspppkey");
spr.cmd = (int)SPPPIOSDEFS;
if (ioctl(s, SIOCSIFGENERIC, &ifr) == -1)
|
|