summaryrefslogtreecommitdiffstats
path: root/zebra/rtadv.c
diff options
context:
space:
mode:
authorLars Seipel <ls@slrz.net>2019-02-11 02:10:50 +0100
committerLars Seipel <ls@slrz.net>2019-02-11 21:46:06 +0100
commit110765e34ae7137edd5324408507d3722fbac229 (patch)
tree7dc38fda67f0f3b631b131391d560a4e7c531816 /zebra/rtadv.c
parentdoc: describe RA options for DNS configuration in ipv6.rst (diff)
downloadfrr-110765e34ae7137edd5324408507d3722fbac229.tar.xz
frr-110765e34ae7137edd5324408507d3722fbac229.zip
zebra: prefer DEFINE_MTYPE_STATIC for local memtypes
Signed-off-by: Lars Seipel <ls@slrz.net>
Diffstat (limited to 'zebra/rtadv.c')
-rw-r--r--zebra/rtadv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index 33225c97c..5b95a6977 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -66,6 +66,9 @@ extern struct zebra_privs_t zserv_privs;
#define ALLNODE "ff02::1"
#define ALLROUTER "ff02::2"
+DEFINE_MTYPE_STATIC(ZEBRA, RTADV_RDNSS, "Router Advertisement RDNSS")
+DEFINE_MTYPE_STATIC(ZEBRA, RTADV_DNSSL, "Router Advertisement DNSSL")
+
/* Order is intentional. Matches RFC4191. This array is also used for
command matching, so only modify with care. */
const char *rtadv_pref_strs[] = {"medium", "high", "INVALID", "low", 0};