]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Remove trailing whitespace
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 17 Feb 2014 18:55:31 +0000 (10:55 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 17 Feb 2014 18:55:31 +0000 (10:55 -0800)
ip/ipaddress.c
ip/ipaddrlabel.c
ip/iplink_vxlan.c
ip/ipnetns.c
ip/iproute.c
ip/iptunnel.c
ip/ipxfrm.c
ip/link_gre.c
ip/tunnel.c
ip/xfrm_state.c

index 33698ae74c0401f90a4721d62ae7edf0804f3baa..d52b453957b4dbdf7d49f230a4192cbf111e96a9 100644 (file)
@@ -125,7 +125,7 @@ static void print_link_flags(FILE *fp, unsigned flags, unsigned mdown)
 }
 
 static const char *oper_states[] = {
-       "UNKNOWN", "NOTPRESENT", "DOWN", "LOWERLAYERDOWN", 
+       "UNKNOWN", "NOTPRESENT", "DOWN", "LOWERLAYERDOWN",
        "TESTING", "DORMANT",    "UP"
 };
 
index 8295727ffcad4cb90ba928eb0d07279524ac16f0..5913b1b8a8f705485b74f3b2be8629f6602d4a55 100644 (file)
@@ -133,7 +133,7 @@ static int ipaddrlabel_modify(int cmd, int argc, char **argv)
        inet_prefix prefix;
        uint32_t label = 0xffffffffUL;
        char *p = NULL;
-       char *l = NULL;        
+       char *l = NULL;
 
        memset(&req, 0, sizeof(req));
        memset(&prefix, 0, sizeof(prefix));
index 9a8a9dcf3e27981ce307f6ea12697d669a767c1e..b9a516e1e477d596d3aae9d6862ea12dbc20dcf7 100644 (file)
@@ -198,7 +198,7 @@ static int vxlan_parse_opt(struct link_util *lu, int argc, char **argv,
        if (!dst_port_set) {
                fprintf(stderr, "vxlan: destination port not specified\n"
                        "Will use Linux kernel default (non-standard value)\n");
-               fprintf(stderr, 
+               fprintf(stderr,
                        "Use 'dstport 4789' to get the IANA assigned value\n"
                        "Use 'dstport 0' to get default and quiet this message\n");
        }
index 89dda3ffd138b320437f4d9f86b23b718a52d7f6..1d8d3dc23d333ddc315f2ab2a35ca668e480fc3c 100644 (file)
@@ -286,7 +286,7 @@ static int netns_pids(int argc, char **argv)
        }
        closedir(dir);
        return 0;
-       
+
 }
 
 static int netns_identify(int argc, char **argv)
@@ -359,7 +359,7 @@ static int netns_identify(int argc, char **argv)
        }
        closedir(dir);
        return 0;
-       
+
 }
 
 static int netns_delete(int argc, char **argv)
index 25a56d1f5f12226d7b8ce185eed047c15ffb6a74..6d13b64618afe1538aa5e882ff6f56287a4a4f2f 100644 (file)
@@ -837,7 +837,7 @@ static int iproute_modify(int cmd, unsigned flags, int argc, char **argv)
                        }
                        if (get_time_rtt(&rtt, *argv, &raw))
                                invarg("\"rtt\" value is invalid\n", *argv);
-                       rta_addattr32(mxrta, sizeof(mxbuf), RTAX_RTT, 
+                       rta_addattr32(mxrta, sizeof(mxbuf), RTAX_RTT,
                                (raw) ? rtt : rtt * 8);
                } else if (strcmp(*argv, "rto_min") == 0) {
                        unsigned rto_min;
index 8479c7208d225d8eb34e56d513963731f25c9aeb..9ae8847dca672f3e85fd4778bd221ce02e51dbc5 100644 (file)
@@ -345,16 +345,16 @@ static void print_tunnel(struct ip_tunnel_parm *p)
        if (p->iph.protocol == IPPROTO_IPV6 && (p->i_flags & SIT_ISATAP)) {
                struct ip_tunnel_prl prl[16];
                int i;
-               
+
                memset(prl, 0, sizeof(prl));
                prl[0].datalen = sizeof(prl) - sizeof(prl[0]);
                prl[0].addr = htonl(INADDR_ANY);
-       
+
                if (!tnl_prl_ioctl(SIOCGETPRL, p->name, prl))
                        for (i = 1; i < sizeof(prl) / sizeof(prl[0]); i++)
                {
                        if (prl[i].addr != htonl(INADDR_ANY)) {
-                               printf(" %s %s ", 
+                               printf(" %s %s ",
                                        (prl[i].flags & PRL_DEFAULT) ? "pdr" : "pr",
                                        format_host(AF_INET, 4, &prl[i].addr, s1, sizeof(s1)));
                        }
index 2ebfd38ec708e8b7e225e106a8641eccc2f6bdfa..cce51518170c2ce1f6f22016be94885c119420c1 100644 (file)
@@ -357,7 +357,7 @@ void xfrm_stats_print(struct xfrm_stats *s, FILE *fp, const char *prefix)
 
        if (prefix)
                fputs(prefix, fp);
-       fprintf(fp, "  replay-window %u replay %u failed %u%s", 
+       fprintf(fp, "  replay-window %u replay %u failed %u%s",
                s->replay_window, s->replay, s->integrity_failed, _SL_);
 }
 
@@ -408,7 +408,7 @@ void xfrm_lifetime_print(struct xfrm_lifetime_cfg *cfg,
 
                if (prefix)
                        fputs(prefix, fp);
-               fprintf(fp, "  expire add: soft %llu(sec), hard %llu(sec)%s", 
+               fprintf(fp, "  expire add: soft %llu(sec), hard %llu(sec)%s",
                        (unsigned long long) cfg->soft_add_expires_seconds,
                        (unsigned long long) cfg->hard_add_expires_seconds,
                        _SL_);
index 7e0b8966b6c1a7ba2dd43b7cfbc78d33d2850af8..17478868e39884ea42fae2cafac7d2903507b52b 100644 (file)
@@ -233,7 +233,7 @@ get_failed:
                                tos = uval;
                        } else
                                tos = 1;
-               } else 
+               } else
                        usage();
                argc--; argv++;
        }
index 2f1ec30273cb0ae323fdada4d5aadfc3c67306d1..f163dad6049c46f1e0abce8aa6f558f39aece332 100644 (file)
@@ -121,7 +121,7 @@ int tnl_del_ioctl(const char *basedev, const char *name, void *p)
        return err;
 }
 
-static int tnl_gen_ioctl(int cmd, const char *name, 
+static int tnl_gen_ioctl(int cmd, const char *name,
                         void *p, int skiperr)
 {
        struct ifreq ifr;
index 14f2fa7677b11f8bee9d66a908a936b24864241a..3d8606b440ecedabc6d2e8eaa6bdead7a7621ccf 100644 (file)
@@ -1188,7 +1188,7 @@ static int print_sadinfo(struct nlmsghdr *n, void *arg)
                                fprintf(fp,"BAD SAD length returned\n");
                                return -1;
                        }
-                               
+
                        si = RTA_DATA(tb[XFRMA_SAD_HINFO]);
                        fprintf(fp," (buckets ");
                        fprintf(fp,"count %d", si->sadhcnt);