Add missing return
This commit is contained in:
parent
793b098f9e
commit
0d12b55735
1 changed files with 2 additions and 0 deletions
2
nbp.go
2
nbp.go
|
@ -175,4 +175,6 @@ func handleNBP(pcapHandle *pcap.Handle, myHWAddr, srcHWAddr ethernet.Addr, myAdd
|
||||||
default:
|
default:
|
||||||
return fmt.Errorf("TODO: handle function %v", nbpkt.Function)
|
return fmt.Errorf("TODO: handle function %v", nbpkt.Function)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue