]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: conditionalize RTM_RESOLVE flag 4061/head
authorMark Stapp <mjs@voltanet.io>
Tue, 2 Apr 2019 13:26:45 +0000 (09:26 -0400)
committerMark Stapp <mjs@voltanet.io>
Tue, 2 Apr 2019 13:26:45 +0000 (09:26 -0400)
RTM_RESOLVE may not be present; conditionalize zebra's reference
to it.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
zebra/kernel_socket.c

index ad461919038b162f1d76099e7b66bb8513bd3ea7..1bbb98ad19056d35f623c270521f77b9aa0a2a53 100644 (file)
@@ -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"},