artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19ca290
)
Use imsg_get_fd() to access the control fd.
author
claudio
<claudio@openbsd.org>
Wed, 13 Dec 2023 15:34:43 +0000
(15:34 +0000)
committer
claudio
<claudio@openbsd.org>
Wed, 13 Dec 2023 15:34:43 +0000
(15:34 +0000)
OK tb@
usr.sbin/ospf6d/ospfe.c
patch
|
blob
|
history
diff --git
a/usr.sbin/ospf6d/ospfe.c
b/usr.sbin/ospf6d/ospfe.c
index
e10926d
..
a2a161a
100644
(file)
--- a/
usr.sbin/ospf6d/ospfe.c
+++ b/
usr.sbin/ospf6d/ospfe.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ospfe.c,v 1.7
0 2023/07/03 09:51:38
claudio Exp $ */
+/* $OpenBSD: ospfe.c,v 1.7
1 2023/12/13 15:34:43
claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@
-401,7
+401,7
@@
ospfe_dispatch_main(int fd, short event, void *bula)
control_imsg_relay(&imsg);
break;
case IMSG_CONTROLFD:
- if ((fd = imsg
.fd
) == -1)
+ if ((fd = imsg
_get_fd(&imsg)
) == -1)
fatalx("%s: expected to receive imsg control"
"fd but didn't receive any", __func__);
/* Listen on control socket. */