Skip to content

Commit

Permalink
fsm: do not alias network-up to adrrconf-up state
Browse files Browse the repository at this point in the history
  • Loading branch information
mtomaschewski committed Apr 15, 2015
1 parent ff1c44c commit 2914a13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/wicked/fsm.h
Expand Up @@ -32,6 +32,7 @@ typedef enum ni_fsm_state {
NI_FSM_STATE_LINK_AUTHENTICATED,
NI_FSM_STATE_LLDP_UP,
NI_FSM_STATE_ADDRCONF_UP,
NI_FSM_STATE_NETWORK_UP,

__NI_FSM_STATE_MAX
} ni_fsm_state_t;
Expand Down
3 changes: 2 additions & 1 deletion src/fsm.c
Expand Up @@ -661,7 +661,8 @@ static ni_intmap_t __state_names[] = {
{ "link-up", NI_FSM_STATE_LINK_UP },
{ "link-authenticated", NI_FSM_STATE_LINK_AUTHENTICATED },
{ "lldp-up", NI_FSM_STATE_LLDP_UP },
{ "network-up", NI_FSM_STATE_ADDRCONF_UP },
{ "addrconf-up", NI_FSM_STATE_ADDRCONF_UP },
{ "network-up", NI_FSM_STATE_NETWORK_UP },
{ "max", __NI_FSM_STATE_MAX },

{ NULL }
Expand Down

0 comments on commit 2914a13

Please sign in to comment.