summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2019-04-03 16:29:19 +0200
committerHans Dedecker <dedeckeh@gmail.com>2019-04-05 10:30:18 +0200
commitc6dae8e6b2a82dca6e2e00e17b0bc968a504d7fc (patch)
tree3b67c5921b66dc5ad82e7d9460aba23631065e00 /src/odhcpd.h
parente7b1d4bf3a2297192638b9c84208b3dcb306ecd8 (diff)
router: create ICMPv6 socket per interface
Get rid of the global raw ICMPv6 socket by creating a raw ICMPv6 socket per interface. This fixes an open raw ICMPv6 socket in case all ra interfaces are configured as disabled. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index 80f416d..42d0954 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -209,6 +209,7 @@ struct interface {
size_t addr6_len;
// RA runtime data
+ struct odhcpd_event router_event;
struct uloop_timeout timer_rs;
// DHCPv6 runtime data