diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-08-06 08:57:42 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-15 13:26:03 +0200 |
commit | ead4ee99acd63d2342e9e9dda7a8f5a103a6f550 (patch) | |
tree | 876fee1047023d8571c9a75af9cc371c738e4e75 /zebra/irdp_packet.c | |
parent | zebra: start detangling rtadv & irdp (diff) | |
download | frr-ead4ee99acd63d2342e9e9dda7a8f5a103a6f550.tar.xz frr-ead4ee99acd63d2342e9e9dda7a8f5a103a6f550.zip |
zebra: irdp: manage separate IRDP struct
This allocates the per-interface IRDP data as needed; so the pointer in
zebra_if is now really opaque.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/irdp_packet.c')
-rw-r--r-- | zebra/irdp_packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/irdp_packet.c b/zebra/irdp_packet.c index 3bd093d97..a64eac2ea 100644 --- a/zebra/irdp_packet.c +++ b/zebra/irdp_packet.c @@ -84,7 +84,7 @@ static void parse_irdp_packet(char *p, int len, struct interface *ifp) if (!zi) return; - irdp = &zi->irdp; + irdp = zi->irdp; if (!irdp) return; @@ -240,7 +240,7 @@ int irdp_read_raw(struct thread *r) if (!zi) return ret; - irdp = &zi->irdp; + irdp = zi->irdp; if (!irdp) return ret; |