summaryrefslogtreecommitdiff
path: root/usr.sbin/eigrpd/rde.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/eigrpd/rde.c')
-rw-r--r--usr.sbin/eigrpd/rde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/eigrpd/rde.c b/usr.sbin/eigrpd/rde.c
index b14d967ba2d..383a3ee57a2 100644
--- a/usr.sbin/eigrpd/rde.c
+++ b/usr.sbin/eigrpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.25 2023/03/08 04:43:13 guenther Exp $ */
+/* $OpenBSD: rde.c,v 1.26 2023/12/14 11:09:56 claudio Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
@@ -354,7 +354,7 @@ rde_dispatch_parent(int fd, short event, void *bula)
"to eigrpe", __func__);
break;
}
- if ((fd = imsg.fd) == -1) {
+ if ((fd = imsg_get_fd(&imsg)) == -1) {
log_warnx("%s: expected to receive imsg fd to "
"eigrpe but didn't receive any", __func__);
break;