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 2340fd4..add8698 100644
--- a/trafgen_parser.y
+++ b/trafgen_parser.y
@@ -117,7 +117,7 @@ static inline void __init_new_packet_slot(struct packet *slot)
static inline void __init_new_counter_slot(struct packet_dyn *slot)
{
- memset(slot, 0, sizeof(*slot);
+ memset(slot, 0, sizeof(*slot));
}
static inline void __init_new_randomizer_slot(struct packet_dyn *slot)