artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92278a0
)
Make sure we are interested in an interface that shows up.
author
florian
<florian@openbsd.org>
Thu, 11 Jul 2024 13:38:03 +0000
(13:38 +0000)
committer
florian
<florian@openbsd.org>
Thu, 11 Jul 2024 13:38:03 +0000
(13:38 +0000)
sbin/dhcp6leased/frontend.c
patch
|
blob
|
history
diff --git
a/sbin/dhcp6leased/frontend.c
b/sbin/dhcp6leased/frontend.c
index
88552f5
..
06c343f
100644
(file)
--- a/
sbin/dhcp6leased/frontend.c
+++ b/
sbin/dhcp6leased/frontend.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: frontend.c,v 1.1
3 2024/07/11 10:48:51
florian Exp $ */
+/* $OpenBSD: frontend.c,v 1.1
4 2024/07/11 13:38:03
florian Exp $ */
/*
* Copyright (c) 2017, 2021, 2024 Florian Obser <florian@openbsd.org>
@@
-551,6
+551,9
@@
update_iface(uint32_t if_index)
if ((flags = get_flags(if_name)) == -1)
return;
+ if (find_iface_conf(&frontend_conf->iface_list, if_name) == NULL)
+ return;
+
memset(&ifinfo, 0, sizeof(ifinfo));
ifinfo.if_index = if_index;
ifinfo.link_state = -1;