wrc_main: set prev_state to 0 at compilation
By this when the link is down at startup, link_status is set to LINK_DOWN
in wrc_check_link. It does not go through state LINK_WENT_DOWN.
Due to this bug, despite of link was down one packet was sent by bootp.
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
Showing
Please
register
or
sign in
to comment