Skip to content

Commit

Permalink
Fix dialyzer warning 'unknown type'
Browse files Browse the repository at this point in the history
  • Loading branch information
yannayl committed Apr 7, 2015
1 parent d016510 commit b14ab5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/pkt_ipv4.hrl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-record(ipv4, {
v = 4 :: pkt:nibble(), hl = 5 :: pkt:nibble(), tos = 0 :: pkt:byte(), len = 20 :: pkt:uint16_t(),
v = 4 :: pkt:nibble(), hl = 5 :: pkt:nibble(), tos = 0 :: byte(), len = 20 :: pkt:uint16_t(),
id = 0 :: pkt:uint16_t(), df = 0 :: pkt:bit(), mf = 0 :: pkt:bit(),
off = 0 :: 0 .. 2#1111111111111, ttl = 64 :: pkt:byte(), p = ?IPPROTO_TCP :: pkt:byte(), sum = 0 :: pkt:uint16_t(),
off = 0 :: 0 .. 2#1111111111111, ttl = 64 :: byte(), p = ?IPPROTO_TCP :: byte(), sum = 0 :: pkt:uint16_t(),
saddr = {127,0,0,1} :: pkt:in_addr(), daddr = {127,0,0,1} :: pkt:in_addr(),
opt = <<>> :: binary()
}).

0 comments on commit b14ab5c

Please sign in to comment.