summaryrefslogtreecommitdiff
path: root/trafgen_l2.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-08-10 10:25:51 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-08-10 10:28:55 +0200
commit4651ad352e6afabea33ed46bca9fa49fab528d09 (patch)
tree153258aa9dcc454bcb65cf258327ad93b8f7468a /trafgen_l2.c
parentcb158d929bdb417af3b6fdc8fa39bc9a76068793 (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_l2.c')
-rw-r--r--trafgen_l2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen_l2.c b/trafgen_l2.c
index 2e411e6..1863332 100644
--- a/trafgen_l2.c
+++ b/trafgen_l2.c
@@ -19,7 +19,7 @@ static struct proto_field eth_fields[] = {
static uint16_t pid_to_eth(enum proto_id pid)
{
- switch(pid) {
+ switch (pid) {
case PROTO_ARP:
return ETH_P_ARP;
case PROTO_IP4: