diff options
author | newton <newton@FreeBSD.org> | 1999-01-30 09:42:55 +0000 |
---|---|---|
committer | newton <newton@FreeBSD.org> | 1999-01-30 09:42:55 +0000 |
commit | 6c80ae4325fb5d1cab94603607c94d646aee0d8e (patch) | |
tree | 205ca53cee585bfdc3139ec0341eee6988c83a9e /sys/compat/svr4/svr4_sockio.c | |
parent | 0e1a8a83aaff6fc7cb6cef11110187e7b2e9dd87 (diff) | |
download | FreeBSD-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/compat/svr4/svr4_sockio.c')
-rw-r--r-- | sys/compat/svr4/svr4_sockio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_sockio.c b/sys/compat/svr4/svr4_sockio.c index 7b9fb1f..82d9996b 100644 --- a/sys/compat/svr4/svr4_sockio.c +++ b/sys/compat/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) { |