add Bridge.Interface()

This commit is contained in:
Matthias Radestock committed 2016-01-13 13:50:18 +00:00
1 parent f12ec3b295
commit e5c256daa1
3 files changed
+17

No files matched your search

+4
View File
@@ -204,6 +204,10 @@ func (fastdp *FastDatapath) Bridge() Bridge {
return fastDatapathBridge{fastdp}
}
func (fastdp fastDatapathBridge) Interface() *net.Interface {
return fastdp.iface
}
func (fastdp fastDatapathBridge) String() string {
return fmt.Sprint(fastdp.dpname, " (via ODP)")
}