]> git.ipfire.org Git - thirdparty/bird.git/commit
Nest: Do not hard-reset interface when preferred address is changed
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 28 Nov 2018 15:43:17 +0000 (16:43 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 28 Nov 2018 15:55:32 +0000 (16:55 +0100)
commite2ae08694e45b2a127c9d741e41dee4b14c2964d
tree474fea3661e03e2b82130beb493ac8a4a79844fc
parent66934aceff0e5299719177782bcbf151f8030591
Nest: Do not hard-reset interface when preferred address is changed

Modify protocols to use preferred address change notification instead on
depending on hard-reset of interfaces in that case, and remove hard-reset
in that case. This avoids issue when e.g. IPv6 protocol restarts
interface when IPv4 preferred address changed (as hard-reset is
unavoidable and common for whole iface).

The patch also fixes a bug when removing last address does not send
preferred address change notification.
nest/iface.c
nest/iface.h
proto/babel/babel.c
proto/radv/radv.c
proto/rip/rip.c