1
0
mirror of https://github.com/solemnwarning/ipxwrapper synced 2024-12-30 16:45:37 +01:00

Bugfix: router_bind() didn't set ->next properly, lost any existing binds.

This commit is contained in:
Daniel Collins 2011-09-11 14:38:12 +00:00
parent b888762538
commit e91121bf02

View File

@ -456,7 +456,7 @@ static int router_bind(struct router_vars *router, SOCKET control, SOCKET sock,
new_addr->control_socket = control;
new_addr->filter_ptype = -1;
new_addr->reuse = reuse;
new_addr->next = NULL;
new_addr->next = router->addrs;
router->addrs = new_addr;