summaryrefslogtreecommitdiff
path: root/sys/net/if_pair.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-10-25 12:05:41 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-10-25 12:05:41 +0000
commit1259f9f3c0efdab8a370f3c9fbaa9a110b6a9a6c (patch)
tree90434519c8fb02e497b01752deaebea82301972e /sys/net/if_pair.c
parent71cd060798083d991e4d317dabf50f510b69bfa9 (diff)
arp_ifinit() is no longer required.
Diffstat (limited to 'sys/net/if_pair.c')
-rw-r--r--sys/net/if_pair.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if_pair.c b/sys/net/if_pair.c
index 10bfc1f88af..2c0df41aece 100644
--- a/sys/net/if_pair.c
+++ b/sys/net/if_pair.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pair.c,v 1.2 2015/10/24 11:01:39 reyk Exp $ */
+/* $OpenBSD: if_pair.c,v 1.3 2015/10/25 12:05:40 mpi Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -209,8 +209,6 @@ pairioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
switch (cmd) {
case SIOCSIFADDR:
ifp->if_flags |= IFF_UP;
- if (ifa->ifa_addr->sa_family == AF_INET)
- arp_ifinit(&sc->sc_ac, ifa);
/* FALLTHROUGH */
case SIOCSIFFLAGS: