summaryrefslogtreecommitdiff
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-04-02 09:26:45 -0400
committerMark Stapp <mjs@voltanet.io>2019-04-02 09:26:45 -0400
commit5f11807bc6f27b72a6f9e695cad0f710c2db876b (patch)
tree747a272f40b8701593628e7c85679b4f6a329d58 /zebra/kernel_socket.c
parent09310979549d06725619fc80fdcb3c2f914a4549 (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>
Diffstat (limited to 'zebra/kernel_socket.c')
-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 ad46191903..1bbb98ad19 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"},