summaryrefslogtreecommitdiffstats
path: root/zebra/irdp.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-09-27 01:46:02 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-09-27 01:57:27 +0200
commite92044cd961e900667f0300bcd562c9b259ad0d9 (patch)
tree8fc8e517ae20a85df8f0ab34eb2fb92420ad55f5 /zebra/irdp.h
parentMerge pull request #1069 from donaldsharp/rfc_plist (diff)
downloadfrr-e92044cd961e900667f0300bcd562c9b259ad0d9.tar.xz
frr-e92044cd961e900667f0300bcd562c9b259ad0d9.zip
zebra: Fix irdp so it doesn't crash when looked at
irdp is crashing because it assumes that people have configured it in a certain way. Ensure that this 'way' is honored at least enough so that we don't crash. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/irdp.h')
-rw-r--r--zebra/irdp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/irdp.h b/zebra/irdp.h
index ea190b574..8aa9f3e4b 100644
--- a/zebra/irdp.h
+++ b/zebra/irdp.h
@@ -111,6 +111,8 @@
*/
struct irdp_interface {
+ bool started;
+
unsigned long MaxAdvertInterval;
unsigned long MinAdvertInterval;
unsigned long Preference;