summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-11-27 09:51:03 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-11-27 09:51:03 +0100
commitdd6c1eb0a190456810d7c2ec0bcecf860adc4f04 (patch)
treebe8bbf7237886d002a62f6aa0b4dfbd8a1b1398d
parent479a36775745f488f526c8deec82f6fe2867f9b5 (diff)
netsniff-ng: nlmsg: Remove unnecessary empty lines
Remove empty lines in switch/case after break in genl_print_ctrl_attrs to be consistent with coding style in the rest of the file. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--proto_nlmsg.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/proto_nlmsg.c b/proto_nlmsg.c
index cd3b8c4..6b43335 100644
--- a/proto_nlmsg.c
+++ b/proto_nlmsg.c
@@ -899,33 +899,26 @@ static void genl_print_ctrl_attrs(struct nlmsghdr *hdr)
case CTRL_ATTR_FAMILY_ID:
nla_fmt(attr, "Family Id 0x%x", NLA_UINT16(attr));
break;
-
case CTRL_ATTR_FAMILY_NAME:
nla_fmt(attr, "Family Name %s", NLA_STR(attr));
break;
-
case CTRL_ATTR_VERSION:
nla_fmt(attr, "Version %u", NLA_UINT32(attr));
break;
-
case CTRL_ATTR_HDRSIZE:
nla_fmt(attr, "Header size %u", NLA_UINT32(attr));
break;
-
case CTRL_ATTR_MAXATTR:
nla_fmt(attr, "Max attr value 0x%x", NLA_UINT32(attr));
break;
-
case CTRL_ATTR_OPS:
nla_fmt(attr, "Ops list");
genl_print_ops_list(NLA_DATA(attr), NLA_LEN(attr));
break;
-
case CTRL_ATTR_MCAST_GROUPS:
nla_fmt(attr, "Mcast groups");
genl_print_mc_groups(NLA_DATA(attr), NLA_LEN(attr));
break;
-
default:
nla_fmt(attr, "0x%x", attr->nla_type);
break;