Skip to content

Commit

Permalink
combined types
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed May 16, 2021
1 parent 5e40e5e commit c1002f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clab/netlink.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (c *CLab) CreateVirtualWiring(l *types.Link) (err error) {

// createVethIface takes two veth endpoint structs and create a veth pair and return
// veth interface links.
func createVethIface(ifName, peerName string, mtu int, aMAC, bMAC net.HardwareAddr) (linkA netlink.Link, linkB netlink.Link, err error) {
func createVethIface(ifName, peerName string, mtu int, aMAC, bMAC net.HardwareAddr) (linkA, linkB netlink.Link, err error) {
linkA = &netlink.Veth{
LinkAttrs: netlink.LinkAttrs{
Name: ifName,
Expand Down

0 comments on commit c1002f4

Please sign in to comment.