diff options
Diffstat (limited to 'trafgen_l4.c')
-rw-r--r-- | trafgen_l4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen_l4.c b/trafgen_l4.c index f3d8542..1505b43 100644 --- a/trafgen_l4.c +++ b/trafgen_l4.c @@ -45,7 +45,7 @@ static void udp_header_init(struct proto_hdr *hdr) { struct proto_hdr *lower; - lower = proto_lower_default_add(PROTO_IP4); + lower = proto_lower_default_add(hdr, PROTO_IP4); if (lower->id == PROTO_IP4) proto_field_set_default_u8(lower, IP4_PROTO, IPPROTO_UDP); |