diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2016-05-23 16:31:28 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2016-05-23 16:31:28 +0000 |
commit | e34b75e68e25f6ea1db06c2e244a17c644b4688e (patch) | |
tree | c4afaeb622b21c7f6e9a4ed22d58708c583ea34b /usr.sbin/ldpd/hello.c | |
parent | 74e95f76f34fb4265e012d544b00f9fc2a8a1a6b (diff) |
Remove unnecessary mirroring of sockets.
Diffstat (limited to 'usr.sbin/ldpd/hello.c')
-rw-r--r-- | usr.sbin/ldpd/hello.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ldpd/hello.c b/usr.sbin/ldpd/hello.c index 5f1fabcb611..4d362839e54 100644 --- a/usr.sbin/ldpd/hello.c +++ b/usr.sbin/ldpd/hello.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hello.c,v 1.35 2016/05/23 16:20:59 renato Exp $ */ +/* $OpenBSD: hello.c,v 1.36 2016/05/23 16:31:27 renato Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -60,7 +60,7 @@ send_hello(enum hello_type type, struct iface *iface, struct tnbr *tnbr) inet_aton(AllRouters, &dst.sin_addr); holdtime = iface->hello_holdtime; flags = 0; - fd = iface->discovery_fd; + fd = global.ldp_disc_socket; break; case HELLO_TARGETED: dst.sin_addr.s_addr = tnbr->addr.s_addr; @@ -68,7 +68,7 @@ send_hello(enum hello_type type, struct iface *iface, struct tnbr *tnbr) flags = TARGETED_HELLO; if ((tnbr->flags & F_TNBR_CONFIGURED) || tnbr->pw_count) flags |= REQUEST_TARG_HELLO; - fd = tnbr->discovery_fd; + fd = global.ldp_edisc_socket; break; } |