diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-05-26 17:39:19 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-26 17:40:57 -0700 |
commit | 92bafd79293b99aac0ddeada11dfbe1fd9b67f13 (patch) | |
tree | 5b85bc19bab4b6bffc41a3c60138200f814bad77 /test/packetimpact/testbench/connections.go | |
parent | 6111950f896be20619e903aa556ed921938bef4b (diff) |
Automated rollback of changelist 311424257
PiperOrigin-RevId: 313300554
Diffstat (limited to 'test/packetimpact/testbench/connections.go')
-rw-r--r-- | test/packetimpact/testbench/connections.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/packetimpact/testbench/connections.go b/test/packetimpact/testbench/connections.go index 463fd0556..bf104e5ca 100644 --- a/test/packetimpact/testbench/connections.go +++ b/test/packetimpact/testbench/connections.go @@ -114,12 +114,12 @@ var _ layerState = (*etherState)(nil) func newEtherState(out, in Ether) (*etherState, error) { lMAC, err := tcpip.ParseMACAddress(LocalMAC) if err != nil { - return nil, err + return nil, fmt.Errorf("parsing local MAC: %q: %w", LocalMAC, err) } rMAC, err := tcpip.ParseMACAddress(RemoteMAC) if err != nil { - return nil, err + return nil, fmt.Errorf("parsing remote MAC: %q: %w", RemoteMAC, err) } s := etherState{ out: Ether{SrcAddr: &lMAC, DstAddr: &rMAC}, |