commit | 2b4ffb720b343e5a9d9fc0ac2cf9a14e50c66f35 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Fri Aug 02 16:20:47 2019 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Mon Aug 05 14:11:18 2019 -0700 |
tree | 209c419d5bb8ab5dce4df92189bfe18ba6cc15f7 | |
parent | f7b260da4485e563d5ea9f5cf44a6d6cbbae47cc [diff] [blame] |
VOL-1834 Report when tagging is not as expected Change-Id: I863fb1786f9355314088dcfc9f0fe697a6932403
diff --git a/core/io_worker.go b/core/io_worker.go index 00ecda3..e0ffd10 100644 --- a/core/io_worker.go +++ b/core/io_worker.go
@@ -85,8 +85,7 @@ return retpkt, vid, nil } } - return pkt, 0, nil - // return nil, 0, errors.New("failed to pop vlan") + return nil, 0, errors.New("failed to pop vlan") } // PushVLAN pushes the vlan header to the packet and returns tha packet