]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commitdiff
Eliminate trailing whitespace
authorStephen Hemminger <shemminger@osdl.org>
Thu, 14 Dec 2006 01:05:50 +0000 (17:05 -0800)
committerStephen Hemminger <shemminger@osdl.org>
Thu, 14 Dec 2006 01:05:50 +0000 (17:05 -0800)
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
genl/ctrl.c
ip/iprule.c
ip/xfrm_monitor.c
netem/maketable.c
tc/f_u32.c

index fe010f3f0d9a0ae709a319f6760653875d79443d..ee5acb893a3daf65d3e149cccafce05742885b0e 100644 (file)
@@ -162,7 +162,7 @@ static int print_ctrl(const struct sockaddr_nl *who, struct nlmsghdr *n,
        int len = n->nlmsg_len;
        struct rtattr *attrs;
        FILE *fp = (FILE *) arg;
-       __u32 ctrl_v = 0x1; 
+       __u32 ctrl_v = 0x1;
 
        if (n->nlmsg_type !=  GENL_ID_CTRL) {
                fprintf(stderr, "Not a controller message, nlmsg_len=%d "
index cb45f02ed2ab328353fcbc689f723502e6cf807a..0aa115afc8c33e0001588c56f5f15a477588de9c 100644 (file)
@@ -138,7 +138,7 @@ int print_rule(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
                if (tb[RTA_FWMASK] &&
                    (mask = *(__u32*)RTA_DATA(tb[RTA_FWMASK])) != 0xFFFFFFFF)
                        fprintf(fp, "fwmark 0x%x/0x%x ", mark, mask);
-               else 
+               else
                        fprintf(fp, "fwmark 0x%x ", mark);
        }
 
index 925e229c21e36642293116de8c3dee51c9bebca2..bdbf4a67e7c05dd042b4a8511c9854f63dd16077 100644 (file)
@@ -176,12 +176,12 @@ static int xfrm_ae_print(const struct sockaddr_nl *who,
        xfrm_ae_flags_print(id->flags, arg);
        fprintf(fp,"\n\t");
        memset(abuf, '\0', sizeof(abuf));
-       fprintf(fp, "src %s ", rt_addr_n2a(id->sa_id.family, 
-               sizeof(id->saddr), &id->saddr, 
+       fprintf(fp, "src %s ", rt_addr_n2a(id->sa_id.family,
+               sizeof(id->saddr), &id->saddr,
                abuf, sizeof(abuf)));
        memset(abuf, '\0', sizeof(abuf));
-       fprintf(fp, "dst %s ", rt_addr_n2a(id->sa_id.family, 
-               sizeof(id->sa_id.daddr), &id->sa_id.daddr, 
+       fprintf(fp, "dst %s ", rt_addr_n2a(id->sa_id.family,
+               sizeof(id->sa_id.daddr), &id->sa_id.daddr,
                abuf, sizeof(abuf)));
        fprintf(fp, " reqid 0x%x", id->reqid);
        fprintf(fp, " protocol %s ", strxf_proto(id->sa_id.proto));
index dccd254624784ab3be64a2cba451bbccd7e8eb11..a5452b61730c100b48835d409dbee93b033ae917 100644 (file)
@@ -192,7 +192,7 @@ printtable(const short *table, int limit)
        }
 }
 
-int 
+int
 main(int argc, char **argv)
 {
        FILE *fp;
index fe31ec085c9b2ba838c66281ebe9c068853bf2a0..1ac671b33059cb0244d9754334b936c015d80258 100644 (file)
@@ -947,7 +947,7 @@ static int u32_parse_opt(struct filter_util *qu, char *handle, int argc, char **
        }
 
        /* We dont necessarily need class/flowids */
-       if (terminal_ok) 
+       if (terminal_ok)
                sel.sel.flags |= TC_U32_TERMINAL;
        
        if (order) {