mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
isisd: fix bit flag collision in options field
Resolve conflict between F_ISIS_UNIT_TEST and ISIS_OPT_DUMMY_AS_LOOPBACK which were both using the same bit value (0x01). This collision caused unit test mode to be unintentionally enabled when DUMMY_AS_LOOPBACK was set. Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
This commit is contained in:
parent
2ab8cce2e1
commit
86faed512f
|
@ -76,9 +76,9 @@ struct isis_master {
|
|||
struct event_loop *master;
|
||||
/* Various global options */
|
||||
uint8_t options;
|
||||
#define ISIS_OPT_DUMMY_AS_LOOPBACK (1 << 0)
|
||||
#define F_ISIS_UNIT_TEST (1 << 0)
|
||||
#define ISIS_OPT_DUMMY_AS_LOOPBACK (1 << 1)
|
||||
};
|
||||
#define F_ISIS_UNIT_TEST 0x01
|
||||
|
||||
#define ISIS_DEFAULT_MAX_AREA_ADDRESSES 3
|
||||
|
||||
|
|
Loading…
Reference in a new issue