Skip to content

Commit dd74df3

Browse files
committed
shift
1 parent a09d7ec commit dd74df3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fou_linux.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,6 @@ func deserializeFouMsg(msg []byte) (Fou, error) {
199199
fou.Family = int(msg[5])
200200
case FOU_ATTR_PORT:
201201
fou.Port = int(binary.BigEndian.Uint16(msg[5:7]))
202-
// port is 2 bytes
203-
shift = lgt + 2
204202
case FOU_ATTR_IPPROTO:
205203
fou.Protocol = int(msg[5])
206204
case FOU_ATTR_TYPE:

0 commit comments

Comments
 (0)