So it does. I guess this will fix it.
--- ifconfig.c~ Sun Nov 9 14:23:32 1997
+++ ifconfig.c Wed Dec 31 00:07:19 1997
@@ -656,6 +656,7 @@
fprintf(stderr, "%s: unknown interface.\n", ifname);
return -1;
}
+ strcpy(ifr.ifr_name, ifname);
ifr.ifr_flags &= ~flag;
if (ioctl(skfd, SIOCSIFFLAGS, &ifr) < 0) {
perror("SIOCSIFFLAGS");
p.