-/* $OpenBSD: eigrpe.c,v 1.40 2023/03/08 04:43:13 guenther Exp $ */
+/* $OpenBSD: eigrpe.c,v 1.41 2023/12/14 11:09:56 claudio Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
"to rde", __func__);
break;
}
- if ((fd = imsg.fd) == -1) {
+ if ((fd = imsg_get_fd(&imsg)) == -1) {
log_warnx("%s: expected to receive imsg fd to "
"rde but didn't receive any", __func__);
break;
-/* $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>
"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;