summaryrefslogtreecommitdiffstats
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-04-02 15:26:45 +0200
committerMark Stapp <mjs@voltanet.io>2019-04-02 15:26:45 +0200
commit5f11807bc6f27b72a6f9e695cad0f710c2db876b (patch)
tree747a272f40b8701593628e7c85679b4f6a329d58 /zebra/kernel_socket.c
parentMerge pull request #4015 from opensourcerouting/topotests-fixes (diff)
downloadfrr-5f11807bc6f27b72a6f9e695cad0f710c2db876b.tar.xz
frr-5f11807bc6f27b72a6f9e695cad0f710c2db876b.zip
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 ad4619190..1bbb98ad1 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"},