diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-08-10 10:25:51 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-08-10 10:28:55 +0200 |
commit | 4651ad352e6afabea33ed46bca9fa49fab528d09 (patch) | |
tree | 153258aa9dcc454bcb65cf258327ad93b8f7468a /trafgen_l3.c | |
parent | cb158d929bdb417af3b6fdc8fa39bc9a76068793 (diff) |
trafgen: proto: Add space between switch statement and opening parenthesis
Follow common coding style and use:
switch (...)
instead of:
switch(...)
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen_l3.c')
-rw-r--r-- | trafgen_l3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trafgen_l3.c b/trafgen_l3.c index ad58270..1cdd041 100644 --- a/trafgen_l3.c +++ b/trafgen_l3.c @@ -63,7 +63,7 @@ static void ipv4_set_next_proto(struct proto_hdr *hdr, enum proto_id pid) { uint8_t ip_proto; - switch(pid) { + switch (pid) { case PROTO_IP4: ip_proto = IPPROTO_IPIP; break; @@ -129,7 +129,7 @@ static void ipv6_set_next_proto(struct proto_hdr *hdr, enum proto_id pid) { uint8_t ip_proto; - switch(pid) { + switch (pid) { case PROTO_ICMP6: ip_proto = IPPROTO_ICMPV6; break; |