summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/interface.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-04-25 09:28:46 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-04-25 09:28:46 +0000
commit11e0276131e77eb743b196d88c1ff12cff85065f (patch)
tree1f6629f6d1385080aa81f7bc7b387b20f0e0fce4 /usr.sbin/ospfd/interface.c
parent9ef51de45f172695d2d546a83730befc449451c2 (diff)
Call if_init() in ospfe only, neither the rde nor the parent need it.
Diffstat (limited to 'usr.sbin/ospfd/interface.c')
-rw-r--r--usr.sbin/ospfd/interface.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/interface.c b/usr.sbin/ospfd/interface.c
index cb2d8e5de61..433457ae304 100644
--- a/usr.sbin/ospfd/interface.c
+++ b/usr.sbin/ospfd/interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interface.c,v 1.17 2005/04/25 09:09:56 claudio Exp $ */
+/* $OpenBSD: interface.c,v 1.18 2005/04/25 09:28:45 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -245,7 +245,6 @@ if_init(struct ospfd_conf *xconf)
struct area *area = NULL;
struct iface *iface = NULL;
- /* XXX wrong as hell */
if ((xconf->ospf_socket = socket(AF_INET, SOCK_RAW,
IPPROTO_OSPF)) == -1) {
log_warn("if_init: error creating socket");