artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fddda6
)
Do not show expired lease information in dhcp6leasectl.
author
florian
<florian@openbsd.org>
Thu, 11 Jul 2024 10:37:47 +0000
(10:37 +0000)
committer
florian
<florian@openbsd.org>
Thu, 11 Jul 2024 10:37:47 +0000
(10:37 +0000)
sbin/dhcp6leased/engine.c
patch
|
blob
|
history
diff --git
a/sbin/dhcp6leased/engine.c
b/sbin/dhcp6leased/engine.c
index
c454e38
..
f58ae94
100644
(file)
--- a/
sbin/dhcp6leased/engine.c
+++ b/
sbin/dhcp6leased/engine.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: engine.c,v 1.2
1 2024/07/11 09:39:13
florian Exp $ */
+/* $OpenBSD: engine.c,v 1.2
2 2024/07/11 10:37:47
florian Exp $ */
/*
* Copyright (c) 2017, 2021, 2024 Florian Obser <florian@openbsd.org>
@@
-1357,6
+1357,7
@@
deconfigure_interfaces(struct dhcp6leased_iface *iface)
send_reconfigure_interface(pd_conf, pd, DECONFIGURE);
}
}
+ memset(iface->pds, 0, sizeof(iface->pds));
}
int