summaryrefslogtreecommitdiff
path: root/trafgen_parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen_parser.y')
-rw-r--r--trafgen_parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen_parser.y b/trafgen_parser.y
index cd87c12..d643ad2 100644
--- a/trafgen_parser.y
+++ b/trafgen_parser.y
@@ -348,7 +348,7 @@ static void set_dynamic_incdec(uint8_t start, uint8_t stop, uint8_t stepping,
static void proto_add(enum proto_id pid)
{
- hdr = proto_header_init(pid);
+ hdr = proto_header_push(pid);
}
%}