diff options
author | David Lamparter <equinox@diac24.net> | 2010-02-04 03:40:21 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2010-02-04 03:40:21 +0100 |
commit | 8cb411f192a3d6929d059b96e7750295629226de (patch) | |
tree | 9b782f9811e54a64f62fa0e52ebaa66d5cb1372f /zebra/interface.c | |
parent | 6d3577536ca54c0c811792453ee9b90b06de4e78 (diff) | |
parent | adce15e158ce7560631ca8a0185ce12588b111f0 (diff) | |
download | quagga-8cb411f192a3d6929d059b96e7750295629226de.tar.bz2 quagga-8cb411f192a3d6929d059b96e7750295629226de.tar.xz |
Merge branch 'patches/hpp_rdnss' into dn42
Diffstat (limited to 'zebra/interface.c')
-rw-r--r-- | zebra/interface.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index e09ca41f..557d7561 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -83,6 +83,10 @@ if_zebra_new_hook (struct interface *ifp) rtadv->DefaultPreference = RTADV_PREF_MEDIUM; rtadv->AdvPrefixList = list_new (); + + rtadv->AdvRDNSSFlag = 0; + rtadv->AdvRDNSSLifetime = RTADV_RDNSS_DEFAULT_LIFETIME; + rtadv->AdvRDNSSList = list_new (); } #endif /* RTADV */ @@ -655,6 +659,9 @@ nd_dump_vty (struct vty *vty, struct interface *ifp) vty_out (vty, " ND router advertisements with " "Home Agent flag bit set.%s", VTY_NEWLINE); + if (rtadv->AdvRDNSSFlag) + vty_out (vty, " ND router advertisements with " + "RDNSS information.%s", VTY_NEWLINE); if (rtadv->AdvIntervalOption) vty_out (vty, " ND router advertisements with Adv. Interval option.%s", VTY_NEWLINE); |