Permalink
Browse files

Adjust default values for records

  • Loading branch information...
1 parent 3f1dc79 commit 00e85c7bc9ed623e8b1e59ae6d66fb7cbbdfc937 @msantos committed Jun 26, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 include/epcap_net.hrl
View
@@ -43,7 +43,7 @@
-record(ipv4, {
v = 4, hl = 5, tos = 0, len = 20,
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}
}).
@@ -64,7 +64,7 @@
}).
-record(udp, {
- sport = 0, dport = 0, ulen = 0, sum = 0
+ sport = 0, dport = 0, ulen = 8, sum = 0
}).
-record(icmp, {

0 comments on commit 00e85c7

Please sign in to comment.