summaryrefslogtreecommitdiff
path: root/usr.sbin/eigrpd/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/eigrpd/packet.c')
-rw-r--r--usr.sbin/eigrpd/packet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/eigrpd/packet.c b/usr.sbin/eigrpd/packet.c
index 9cb7a801ee2..6b343ce7414 100644
--- a/usr.sbin/eigrpd/packet.c
+++ b/usr.sbin/eigrpd/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.13 2016/04/15 13:10:56 renato Exp $ */
+/* $OpenBSD: packet.c,v 1.14 2016/04/15 13:21:45 renato Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
@@ -105,7 +105,7 @@ send_packet_v4(struct iface *iface, struct nbr *nbr, struct ibuf *buf)
return (-1);
}
- if (sendmsg(econf->eigrp_socket_v4, &msg, 0) == -1) {
+ if (sendmsg(global.eigrp_socket_v4, &msg, 0) == -1) {
log_warn("%s: error sending packet on interface %s",
__func__, iface->name);
return (-1);
@@ -138,7 +138,7 @@ send_packet_v6(struct iface *iface, struct nbr *nbr, struct ibuf *buf)
return (-1);
}
- if (sendto(econf->eigrp_socket_v6, buf->buf, buf->wpos, 0,
+ if (sendto(global.eigrp_socket_v6, buf->buf, buf->wpos, 0,
(struct sockaddr *)&sa6, sizeof(sa6)) == -1) {
log_warn("%s: error sending packet on interface %s",
__func__, iface->name);