]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
kill spaces before tabs
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 17 Feb 2014 18:56:31 +0000 (10:56 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 17 Feb 2014 18:56:31 +0000 (10:56 -0800)
ip/ip.c
ip/ipaddress.c
ip/ipaddrlabel.c
ip/iplink_can.c
ip/ipneigh.c
ip/ipntable.c
ip/iproute.c
ip/iprule.c
ip/xfrm_policy.c
ip/xfrm_state.c

diff --git a/ip/ip.c b/ip/ip.c
index 86f8b455cf34fc21287d4e94bd2e25e82db4050c..813fabd4a5c3acce03a11a55d863a634acbec039 100644 (file)
--- a/ip/ip.c
+++ b/ip/ip.c
@@ -65,7 +65,7 @@ static const struct cmd {
        const char *cmd;
        int (*func)(int argc, char **argv);
 } cmds[] = {
-       { "address",    do_ipaddr },
+       { "address",    do_ipaddr },
        { "addrlabel",  do_ipaddrlabel },
        { "maddress",   do_multiaddr },
        { "route",      do_iproute },
index d52b453957b4dbdf7d49f230a4192cbf111e96a9..14d17200defe2eafe4c05a30dff674d122fbb967 100644 (file)
@@ -1277,9 +1277,9 @@ static int default_scope(inet_prefix *lcl)
 static int ipaddr_modify(int cmd, int flags, int argc, char **argv)
 {
        struct {
-               struct nlmsghdr         n;
-               struct ifaddrmsg        ifa;
-               char                    buf[256];
+               struct nlmsghdr n;
+               struct ifaddrmsg        ifa;
+               char                    buf[256];
        } req;
        char  *d = NULL;
        char  *l = NULL;
index 5913b1b8a8f705485b74f3b2be8629f6602d4a55..b34dd8b14fb37d878223eaaf48b5970890619707 100644 (file)
@@ -125,9 +125,9 @@ static int ipaddrlabel_list(int argc, char **argv)
 static int ipaddrlabel_modify(int cmd, int argc, char **argv)
 {
        struct {
-               struct nlmsghdr         n;
+               struct nlmsghdr n;
                struct ifaddrlblmsg     ifal;
-               char                    buf[1024];
+               char                    buf[1024];
        } req;
 
        inet_prefix prefix;
index 5674358845e4ce4378482433bee7292c4e4148bc..1d3d09c42b4fd23b32673ea374209cd302a06768 100644 (file)
@@ -279,5 +279,5 @@ struct link_util can_link_util = {
        .maxattr        = IFLA_CAN_MAX,
        .parse_opt      = can_parse_opt,
        .print_opt      = can_print_opt,
-       .print_xstats   = can_print_xstats,
+       .print_xstats   = can_print_xstats,
 };
index d76e035c449c988e1e39389ddb4cc1cb5701fd74..71a4100f0b595f82b1641960b1f7ce42ea81fc2a 100644 (file)
@@ -95,9 +95,9 @@ static int flush_update(void)
 static int ipneigh_modify(int cmd, int flags, int argc, char **argv)
 {
        struct {
-               struct nlmsghdr         n;
-               struct ndmsg            ndm;
-               char                    buf[256];
+               struct nlmsghdr n;
+               struct ndmsg            ndm;
+               char                    buf[256];
        } req;
        char  *d = NULL;
        int dst_ok = 0;
index 00b3b0b7df2af0358350085e15556ac51c86ab09..ea7ca2d28dd337a5fe453793e547c437b8e993ac 100644 (file)
@@ -63,9 +63,9 @@ static void usage(void)
 static int ipntable_modify(int cmd, int flags, int argc, char **argv)
 {
        struct {
-               struct nlmsghdr         n;
+               struct nlmsghdr n;
                struct ndtmsg           ndtm;
-               char                    buf[1024];
+               char                    buf[1024];
        } req;
        char *namep = NULL;
        char *threshsp = NULL;
index 6d13b64618afe1538aa5e882ff6f56287a4a4f2f..bc3c3e14dccfb114255ed47180d29e3131783f1a 100644 (file)
@@ -708,9 +708,9 @@ static int parse_nexthops(struct nlmsghdr *n, struct rtmsg *r,
 static int iproute_modify(int cmd, unsigned flags, int argc, char **argv)
 {
        struct {
-               struct nlmsghdr         n;
-               struct rtmsg            r;
-               char                    buf[1024];
+               struct nlmsghdr n;
+               struct rtmsg            r;
+               char                    buf[1024];
        } req;
        char  mxbuf[256];
        struct rtattr * mxrta = (void*)mxbuf;
@@ -1376,9 +1376,9 @@ static int iproute_list_flush_or_save(int argc, char **argv, int action)
 static int iproute_get(int argc, char **argv)
 {
        struct {
-               struct nlmsghdr         n;
-               struct rtmsg            r;
-               char                    buf[1024];
+               struct nlmsghdr n;
+               struct rtmsg            r;
+               char                    buf[1024];
        } req;
        char  *idev = NULL;
        char  *odev = NULL;
index d934f67da2e6c255c4a47f282dfc5566ff53ad80..4ba16f89fc61b0578d259e812eb2c2258d497fef 100644 (file)
@@ -130,7 +130,7 @@ int print_rule(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
                fprintf(fp, "tos %s ", rtnl_dsfield_n2a(r->rtm_tos, b1, sizeof(b1)));
        }
 
-       if (tb[FRA_FWMARK] || tb[FRA_FWMASK]) {
+       if (tb[FRA_FWMARK] || tb[FRA_FWMASK]) {
                __u32 mark = 0, mask = 0;
 
                if (tb[FRA_FWMARK])
@@ -243,9 +243,9 @@ static int iprule_modify(int cmd, int argc, char **argv)
 {
        int table_ok = 0;
        struct {
-               struct nlmsghdr         n;
-               struct rtmsg            r;
-               char                    buf[1024];
+               struct nlmsghdr n;
+               struct rtmsg            r;
+               char                    buf[1024];
        } req;
 
        memset(&req, 0, sizeof(req));
index 9421ba97283296e0c2f52dffb0bbe364282993bb..2337d35246faa4f775d0cf797dc148ca5324e36c 100644 (file)
@@ -961,7 +961,7 @@ static int xfrm_spd_getinfo(int argc, char **argv)
        struct {
                struct nlmsghdr                 n;
                __u32                           flags;
-               char                            ans[128];
+               char                            ans[128];
        } req;
 
        memset(&req, 0, sizeof(req));
index 3d8606b440ecedabc6d2e8eaa6bdead7a7621ccf..140a4503b79927c6e3247760f81277d379079f2d 100644 (file)
@@ -268,9 +268,9 @@ static int xfrm_state_modify(int cmd, unsigned flags, int argc, char **argv)
 {
        struct rtnl_handle rth;
        struct {
-               struct nlmsghdr         n;
+               struct nlmsghdr n;
                struct xfrm_usersa_info xsinfo;
-               char                    buf[RTA_BUF_SIZE];
+               char                    buf[RTA_BUF_SIZE];
        } req;
        struct xfrm_replay_state replay;
        char *idp = NULL;
@@ -655,9 +655,9 @@ static int xfrm_state_allocspi(int argc, char **argv)
 {
        struct rtnl_handle rth;
        struct {
-               struct nlmsghdr         n;
+               struct nlmsghdr n;
                struct xfrm_userspi_info xspi;
-               char                    buf[RTA_BUF_SIZE];
+               char                    buf[RTA_BUF_SIZE];
        } req;
        char *idp = NULL;
        char *minp = NULL;
@@ -912,9 +912,9 @@ static int xfrm_state_get_or_delete(int argc, char **argv, int delete)
 {
        struct rtnl_handle rth;
        struct {
-               struct nlmsghdr         n;
+               struct nlmsghdr n;
                struct xfrm_usersa_id   xsid;
-               char                    buf[RTA_BUF_SIZE];
+               char                    buf[RTA_BUF_SIZE];
        } req;
        struct xfrm_id id;
        char *idp = NULL;