Skip to contentSkip to conversation

net: netfilter: netlink: delete extra spaces

PATCH Applied linzhang 2 participants 2 messages May 12, 2017 – May 29, 2017

Subsystems (3)
lore
Share & tools
lore

linzhang

author
#0 lore raw

PATCH 1/1 net: netfilter: netlink: delete extra spaces

This patch cleans up extra spaces.

---
 net/netfilter/nf_conntrack_netlink.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/netfilter/nf_conntrack_netlink.c +2 -2
index dcf561b..356e6f0 100644
@@ -634,11 +634,11 @@ static size_t ctnetlink_nlmsg_size(const struct nf_conn *ct)
 	if (events & (1 << IPCT_DESTROY)) {
 		type = IPCTNL_MSG_CT_DELETE;
 		group = NFNLGRP_CONNTRACK_DESTROY;
-	} else  if (events & ((1 << IPCT_NEW) | (1 << IPCT_RELATED))) {
+	} else if (events & ((1 << IPCT_NEW) | (1 << IPCT_RELATED))) {
 		type = IPCTNL_MSG_CT_NEW;
 		flags = NLM_F_CREATE|NLM_F_EXCL;
 		group = NFNLGRP_CONNTRACK_NEW;
-	} else  if (events) {
+	} else if (events) {
 		type = IPCTNL_MSG_CT_NEW;
 		group = NFNLGRP_CONNTRACK_UPDATE;
 	} else
Signature · 1 line
1.8.3.1
maintainer Applied
#1 lore raw
Quoted 1 line · linzhang

This patch cleans up extra spaces.

Applied.