aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-12-10 02:54:46 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-12-10 02:54:46 +0000
commit07041db284522d7eb6b603bd540960e359125b79 (patch)
tree5e604024a271666784ee3212a2c7fcf2c8104fd3 /net
parent83685e9d762dd437c816e87c0efcc335a890f703 (diff)
downloadports-07041db284522d7eb6b603bd540960e359125b79.tar.gz
ports-07041db284522d7eb6b603bd540960e359125b79.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/nvnet/files/patch-if_nv.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/nvnet/files/patch-if_nv.c b/net/nvnet/files/patch-if_nv.c
index c1e113df9e5a..b80c1f79462e 100644
--- a/net/nvnet/files/patch-if_nv.c
+++ b/net/nvnet/files/patch-if_nv.c
@@ -1,6 +1,6 @@
--- src/if_nv.c.orig Sat Nov 8 05:03:00 2003
-+++ src/if_nv.c Sat Dec 6 21:50:47 2003
-@@ -457,8 +457,13 @@
++++ src/if_nv.c Tue Dec 9 08:54:39 2003
+@@ -457,8 +457,12 @@
/* Setup interface parameters */
ifp = &sc->sc_if;
ifp->if_softc = sc;
@@ -8,8 +8,7 @@
ifp->if_unit = unit;
ifp->if_name = "nv";
+#else
-+ ifp->if_dunit = unit;
-+ ifp->if_dname = "nv";
++ if_initname(ifp, "nv", unit);
+#endif
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = nv_ioctl;