summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-04-02 09:26:45 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-01-07 10:38:04 -0500
commitdda3c0bd98c3a40cf4877ca2f59da55f3c8fe61e (patch)
tree8e1514ec60a3def6feeecc0696cc8b23c7cdbec1
parent704e820009744ba6d0f01150fffb1c94986720ec (diff)
zebra: conditionalize RTM_RESOLVE flag
RTM_RESOLVE may not be present; conditionalize zebra's reference to it. Signed-off-by: Mark Stapp <mjs@voltanet.io>
-rw-r--r--zebra/kernel_socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c
index acd7f911dc..d9193e106f 100644
--- a/zebra/kernel_socket.c
+++ b/zebra/kernel_socket.c
@@ -148,7 +148,9 @@ const struct message rtm_type_str[] = {{RTM_ADD, "RTM_ADD"},
#ifdef RTM_OLDDEL
{RTM_OLDDEL, "RTM_OLDDEL"},
#endif /* RTM_OLDDEL */
+#ifdef RTM_RESOLVE
{RTM_RESOLVE, "RTM_RESOLVE"},
+#endif /* RTM_RESOLVE */
{RTM_NEWADDR, "RTM_NEWADDR"},
{RTM_DELADDR, "RTM_DELADDR"},
{RTM_IFINFO, "RTM_IFINFO"},