diff options
Diffstat (limited to 'ospf6d/ospf6_area.h')
| -rw-r--r-- | ospf6d/ospf6_area.h | 12 | 
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 */  | 
