summaryrefslogtreecommitdiffstats
path: root/sys/svr4
diff options
context:
space:
mode:
authornewton <newton@FreeBSD.org>1999-01-30 09:42:55 +0000
committernewton <newton@FreeBSD.org>1999-01-30 09:42:55 +0000
commit6c80ae4325fb5d1cab94603607c94d646aee0d8e (patch)
tree205ca53cee585bfdc3139ec0341eee6988c83a9e /sys/svr4
parent0e1a8a83aaff6fc7cb6cef11110187e7b2e9dd87 (diff)
downloadFreeBSD-src-6c80ae4325fb5d1cab94603607c94d646aee0d8e.zip
FreeBSD-src-6c80ae4325fb5d1cab94603607c94d646aee0d8e.tar.gz
Oops - Ripped out a bit of debugging code which will stop certain bits
of networking from working for people without DEC Tulip ethernet cards.
Diffstat (limited to 'sys/svr4')
-rw-r--r--sys/svr4/svr4_sockio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/svr4/svr4_sockio.c b/sys/svr4/svr4_sockio.c
index 7b9fb1f..82d9996b 100644
--- a/sys/svr4/svr4_sockio.c
+++ b/sys/svr4/svr4_sockio.c
@@ -132,7 +132,7 @@ svr4_sock_ioctl(fp, p, retval, fd, cmd, data)
if ((error = copyin(data, &sr, sizeof(sr))) != 0)
return error;
- (void) strncpy(br.ifr_name, "de0", /*sr.svr4_ifr_name,*/
+ (void) strncpy(br.ifr_name, sr.svr4_ifr_name,
sizeof(br.ifr_name));
if ((error = (*ctl)(fp, SIOCGIFFLAGS,
(caddr_t) &br, p)) != 0) {
OpenPOWER on IntegriCloud