Fixed bip cleanup to enable initializing interfaces after cleanup. (#949)
This commit is contained in:
@@ -763,6 +763,9 @@ void bip_cleanup(void)
|
||||
close(BIP_Broadcast_Socket);
|
||||
}
|
||||
BIP_Broadcast_Socket = -1;
|
||||
/* these were set non-zero during interface configuration */
|
||||
BIP_Address.s_addr = 0;
|
||||
BIP_Broadcast_Addr.s_addr = 0;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user