Skip to content

Commit

Permalink
Adjust default values for records
Browse files Browse the repository at this point in the history
  • Loading branch information
msantos committed Jun 26, 2010
1 parent 3f1dc79 commit 00e85c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/epcap_net.hrl
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
-record(ipv4, { -record(ipv4, {
v = 4, hl = 5, tos = 0, len = 20, v = 4, hl = 5, tos = 0, len = 20,
id = 0, df = 0, mf = 0, id = 0, df = 0, mf = 0,
off = 0, ttl = 0, p = ?IPPROTO_TCP, sum = 0, off = 0, ttl = 64, p = ?IPPROTO_TCP, sum = 0,
saddr = {127,0,0,1}, daddr = {127,0,0,1} saddr = {127,0,0,1}, daddr = {127,0,0,1}
}). }).


Expand All @@ -64,7 +64,7 @@
}). }).


-record(udp, { -record(udp, {
sport = 0, dport = 0, ulen = 0, sum = 0 sport = 0, dport = 0, ulen = 8, sum = 0
}). }).


-record(icmp, { -record(icmp, {
Expand Down

0 comments on commit 00e85c7

Please sign in to comment.