]> git.proxmox.com Git - mirror_frr.git/commit
lib, zebra: add "vrf_id" into the "struct interface"
authorFeng Lu <lu.feng@6wind.com>
Fri, 22 May 2015 09:39:57 +0000 (11:39 +0200)
committerVipin Kumar <vipin@cumulusnetworks.com>
Thu, 29 Oct 2015 23:49:39 +0000 (16:49 -0700)
commit3968dbf8ef4966fb3f9d38640ea9c5a9f13419cf
tree1f5e7a550b554690e679eeb00657b21a4d513cde
parentb72ede27fd39c2e97dbf31715464573c30de557f
lib, zebra: add "vrf_id" into the "struct interface"

Later, an interface will belong to a specific VRF. Now we add a
property "vrf_id" to the "struct interface", and keep it as the
default value 0.

This property is shown when displaying interfaces information.
It is also added in some logs.

This is just the preparation to move the interace list into the
"struct vrf". The main logic is not changed.

Signed-off-by: Feng Lu <lu.feng@6wind.com>
Reviewed-by: Alain Ritoux <alain.ritoux@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Vincent JARDIN <vincent.jardin@6wind.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Conflicts:
lib/if.c
zebra/interface.c
lib/if.c
lib/if.h
zebra/interface.c