diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2019-11-22 15:30:01 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2019-11-22 15:30:01 +0000 |
commit | 251fcadb67de26af1e88b3642229e9c8f6352e17 (patch) | |
tree | afc74a3c714ae4641d60296903019b4d4812861a /sbin/slaacd/slaacd.h | |
parent | 073112e0beed9f032d115115a5f150b143f0753f (diff) |
Merge DNS proposals coming from the same interface.
That way we no longer need to handle withdraws in unwind. A new
proposal from a daemon on an interface is always a replacement.
If nameservers expire or an interface goes away we sent an empty list
of nameservers.
pestering^Wprodding deraadt
Diffstat (limited to 'sbin/slaacd/slaacd.h')
-rw-r--r-- | sbin/slaacd/slaacd.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sbin/slaacd/slaacd.h b/sbin/slaacd/slaacd.h index 78b36aca32d..d8e15d00aad 100644 --- a/sbin/slaacd/slaacd.h +++ b/sbin/slaacd/slaacd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: slaacd.h,v 1.25 2019/11/21 19:27:33 florian Exp $ */ +/* $OpenBSD: slaacd.h,v 1.26 2019/11/22 15:30:00 florian Exp $ */ /* * Copyright (c) 2017 Florian Obser <florian@openbsd.org> @@ -63,7 +63,6 @@ enum imsg_type { IMSG_UPDATE_ADDRESS, IMSG_UPDATE_LINK_STATE, IMSG_PROPOSE_RDNS, - IMSG_WITHDRAW_RDNS, IMSG_REPROPOSE_RDNS, #endif /* SMALL */ IMSG_CTL_SEND_SOLICITATION, @@ -197,9 +196,9 @@ struct imsg_link_state { }; struct imsg_propose_rdns { - uint32_t if_index; - int rdns_count; - struct sockaddr_in6 rdns[MAX_RDNS_COUNT]; + uint32_t if_index; + int rdns_count; + struct in6_addr rdns[MAX_RDNS_COUNT]; }; #endif /* SMALL */ |