summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-12-15 18:06:36 +0100
committerTobias Klauser <tklauser@distanz.ch>2016-12-15 18:07:52 +0100
commit3b2e6e86d7f86dceb8c3bd86a7cf22aba1a88e26 (patch)
treee5effabe59302e09fb479c9d441770cd66d9dd70
parentd6d511ecff241d459a70e270ac98d107faffdd45 (diff)
trafgen: proto: Add missing brace
Fix the fat-fingered previous commit which I pushed out too early ;( Fixes: d6d511ecff24 ("trafgen: proto: Zero out newly allocated struct packet") Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-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)