]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospf6d: Fix snmp compile breakage
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 9 Oct 2017 12:54:30 +0000 (08:54 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 9 Oct 2017 12:54:30 +0000 (08:54 -0400)
The recent clang fixes for Static Analysis were run without
compiling `--enable-snmp` these changes broke the snmp build.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
ospf6d/ospf6_lsa.h

index 8b6303d23cb917e27edd02d5948ed193c47d2ed2..3536d33d19ab74b1fc57027a38bf1a9f32a57506 100644 (file)
@@ -155,7 +155,7 @@ struct ospf6_lsa_handler {
 };
 
 #define OSPF6_LSA_IS_KNOWN(t)                                                  \
-       (ospf6_get_lsa_handler(t).lh_type != OSPF6_LSTYPE_UNKNOWN ? 1 : 0)
+       (ospf6_get_lsa_handler(t)->lh_type != OSPF6_LSTYPE_UNKNOWN ? 1 : 0)
 
 extern vector ospf6_lsa_handler_vector;