]> git.proxmox.com Git - mirror_frr.git/commit - zebra/rtadv.c
zebra: keep rtadv_sock field in zrouter for optimisation
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 27 Mar 2019 14:05:58 +0000 (15:05 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 4 Jun 2019 16:33:57 +0000 (18:33 +0200)
commit9245fe61933c9ae3092d107443a418bc0e4f0c9e
treead22c51cf5f65c86bb3ccf06e7e97059491b7090
parentdf9c8c5742f0fbdba47bc195ebcc273d6cab4a8d
zebra: keep rtadv_sock field in zrouter for optimisation

in the case the vrf backend is vrf-lite, there is no need to have
separate sockets. use a socket located in zrouter, so that when needing
the socket, a common API is used. that API will return the appropriate
socket value.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/rtadv.c
zebra/zebra_router.h