SCCS-vsn: sbin/ifconfig/ifconfig.c 4.19
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)ifconfig.c 4.18 (Berkeley) %G%";
+static char sccsid[] = "@(#)ifconfig.c 4.19 (Berkeley) %G%";
#endif not lint
#include <sys/types.h>
#endif not lint
#include <sys/types.h>
close(s);
s = socket(AF_NS, SOCK_DGRAM, 0);
if (s < 0) {
close(s);
s = socket(AF_NS, SOCK_DGRAM, 0);
if (s < 0) {
- if (errno == EAFNOSUPPORT)
+ if (errno == EPROTONOSUPPORT)
return;
perror("ifconfig: socket");
exit(1);
return;
perror("ifconfig: socket");
exit(1);