From bb4ac22a1f22d1b9b1950fa3f373cb2953411863 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 21 Sep 2016 12:30:00 +0200 Subject: [PATCH] ospf6d: fix fallout from ifindex_t change Only one of these variables is in fact an interface index... (this fixes -Werror build.) Signed-off-by: David Lamparter --- ospf6d/ospf6_snmp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ospf6d/ospf6_snmp.c b/ospf6d/ospf6_snmp.c index 382cf62f72..86cfd17c83 100644 --- a/ospf6d/ospf6_snmp.c +++ b/ospf6d/ospf6_snmp.c @@ -625,7 +625,8 @@ ospfv3WwLsdbEntry (struct variable *v, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) { struct ospf6_lsa *lsa = NULL; - ifindex_t ifindex, area_id, id, instid, adv_router; + ifindex_t ifindex; + uint32_t area_id, id, instid, adv_router; u_int16_t type; int len; oid *offset;