mirror of
https://github.com/openvswitch/ovs
synced 2025-10-17 14:28:02 +00:00
lib: Show tunnel egress interface in ovsdb
This commit parses rtnetlink address notifications from the kernel in order to display the egress interface of tunnels in the database. Bug #4103.
This commit is contained in:
@@ -29,7 +29,10 @@
|
||||
static struct rtnetlink *rtn = NULL;
|
||||
static struct rtnetlink_link_change rtn_change;
|
||||
|
||||
static bool
|
||||
/* Parses a rtnetlink message 'buf' into 'change'. If 'buf' is unparseable,
|
||||
* leaves 'change' untouched and returns false. Otherwise, populates 'change'
|
||||
* and returns true. */
|
||||
bool
|
||||
rtnetlink_link_parse(struct ofpbuf *buf,
|
||||
struct rtnetlink_link_change *change)
|
||||
{
|
||||
|
Reference in New Issue
Block a user