summaryrefslogtreecommitdiffstats
path: root/zebra/irdp_packet.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-08-06 08:57:42 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-15 13:26:03 +0200
commitead4ee99acd63d2342e9e9dda7a8f5a103a6f550 (patch)
tree876fee1047023d8571c9a75af9cc371c738e4e75 /zebra/irdp_packet.c
parentzebra: start detangling rtadv & irdp (diff)
downloadfrr-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.c4
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;