summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_area.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2025-04-09 09:59:06 +0200
committerGitHub <noreply@github.com>2025-04-09 09:59:06 +0200
commit8418e57791eabc9feba637b69bd9ee35bed6860a (patch)
tree48b9c05795135606782f9ec359c3f319f5d534dc /ospf6d/ospf6_area.h
parent1d426d99619b7818f4b63b52f83fadfe902b9854 (diff)
parent27ba9956a15c17b7e8a6ba38aa8bbb4514fa90df (diff)
Merge pull request #17915 from mjstapp/compile_wshadow
Diffstat (limited to 'ospf6d/ospf6_area.h')
-rw-r--r--ospf6d/ospf6_area.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ospf6d/ospf6_area.h b/ospf6d/ospf6_area.h
index 2ed69cc597..16049427ac 100644
--- a/ospf6d/ospf6_area.h
+++ b/ospf6d/ospf6_area.h
@@ -123,16 +123,16 @@ struct ospf6_area {
#define OSPF6_CMD_AREA_GET(str, oa, ospf6) \
{ \
- uint32_t area_id; \
- int format, ret; \
- ret = str2area_id(str, &area_id, &format); \
- if (ret) { \
+ uint32_t _area_id; \
+ int _format, _ret; \
+ _ret = str2area_id(str, &_area_id, &_format); \
+ if (_ret) { \
vty_out(vty, "Malformed Area-ID: %s\n", str); \
return CMD_WARNING; \
} \
- oa = ospf6_area_lookup(area_id, ospf6); \
+ oa = ospf6_area_lookup(_area_id, ospf6); \
if (oa == NULL) \
- oa = ospf6_area_create(area_id, ospf6, format); \
+ oa = ospf6_area_create(_area_id, ospf6, _format); \
}
/* prototypes */