projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian: Update check for Debian package version.
[openvswitch]
/
vswitchd
/
bridge.c
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index 96a24fd963e11b6310a6cda9807975541d8f5e70..d505b533c9ecc8e774962740454fa61c7758dfcc 100644
(file)
--- a/
vswitchd/bridge.c
+++ b/
vswitchd/bridge.c
@@
-1101,6
+1101,14
@@
dpid_from_hash(const void *data, size_t n)
return eth_addr_to_uint64(hash);
}
return eth_addr_to_uint64(hash);
}
+static void
+iface_refresh_tunnel_egress(struct iface *iface)
+{
+ const char *name = netdev_get_tnl_iface(iface->netdev);
+
+ ovsrec_interface_set_tunnel_egress_iface(iface->cfg, name);
+}
+
static void
iface_refresh_cfm_stats(struct iface *iface)
{
static void
iface_refresh_cfm_stats(struct iface *iface)
{
@@
-1310,6
+1318,7
@@
bridge_run(void)
struct iface *iface = port->ifaces[j];
iface_refresh_stats(iface);
iface_refresh_cfm_stats(iface);
struct iface *iface = port->ifaces[j];
iface_refresh_stats(iface);
iface_refresh_cfm_stats(iface);
+ iface_refresh_tunnel_egress(iface);
}
}
}
}
}
}