Skip to content

Commit

Permalink
server: set persistent flag only when requested
Browse files Browse the repository at this point in the history
  • Loading branch information
wipawel committed Jul 22, 2014
1 parent 788d36f commit 1e5a1df
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/netdev.c
Expand Up @@ -601,8 +601,6 @@ ni_netdev_discover_client_state(ni_netdev_t *dev)
state = NI_FSM_STATE_LINK_UP;

cs = ni_client_state_new(state);
NI_CLIENT_STATE_SET_CONTROL_FLAG(cs->persistent,
state >= NI_FSM_STATE_LINK_UP, TRUE);

ni_netdev_set_client_state(dev, cs);
}
Expand Down

0 comments on commit 1e5a1df

Please sign in to comment.