Skip to content

Commit

Permalink
add RemoveSlaveIfc to Bridger Interfacer
Browse files Browse the repository at this point in the history
without RemoveSlaveIfc in Bridger,we can not use the RemoveSlaveIfc function
  • Loading branch information
Damon Wang committed Aug 25, 2016
1 parent 104e65a commit 6b053a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bridge_linux.go
Expand Up @@ -14,6 +14,8 @@ type Bridger interface {
Linker
// AddSlaveIfc adds network interface to the network bridge
AddSlaveIfc(*net.Interface) error
//RemoveSlaveIfc removes network interface from the network bridge
RemoveSlaveIfc(*net.Interface) error
}

// Bridge is Link which has zero or more slave network interfaces.
Expand Down

0 comments on commit 6b053a5

Please sign in to comment.