netfilter: ctnetlink: delete extra spaces
authorlinzhang <xiaolou4617@gmail.com>
Fri, 12 May 2017 05:11:06 +0000 (13:11 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 29 May 2017 09:32:29 +0000 (11:32 +0200)
This patch cleans up extra spaces.

Signed-off-by: linzhang <xiaolou4617@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_netlink.c

index 9799a50..f08604d 100644 (file)
@@ -636,11 +636,11 @@ ctnetlink_conntrack_event(unsigned int events, struct nf_ct_event *item)
        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