From: Donald Sharp Date: Mon, 9 Oct 2017 12:54:30 +0000 (-0400) Subject: ospf6d: Fix snmp compile breakage X-Git-Tag: frr-4.0-dev~229^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=0ab500803f48442c85e91f27ab180237babe7a49;p=matthieu%2Ffrr.git ospf6d: Fix snmp compile breakage The recent clang fixes for Static Analysis were run without compiling `--enable-snmp` these changes broke the snmp build. Signed-off-by: Donald Sharp --- diff --git a/ospf6d/ospf6_lsa.h b/ospf6d/ospf6_lsa.h index 8b6303d23c..3536d33d19 100644 --- a/ospf6d/ospf6_lsa.h +++ b/ospf6d/ospf6_lsa.h @@ -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;