From 0ab500803f48442c85e91f27ab180237babe7a49 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 9 Oct 2017 08:54:30 -0400 Subject: 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 --- ospf6d/ospf6_lsa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospf6d') diff --git a/ospf6d/ospf6_lsa.h b/ospf6d/ospf6_lsa.h index 8b6303d23..3536d33d1 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; -- cgit v1.2.3