Commit 195f0f62 authored by Nicolas Dichtel's avatar Nicolas Dichtel Committed by Stephen Hemminger

ip/link_iptnl: fix indentation Logged in as shemminger

Use tabs instead of space when possible.
Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
parent 176659e3
...@@ -298,10 +298,10 @@ static void iptunnel_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[ ...@@ -298,10 +298,10 @@ static void iptunnel_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[
fprintf(f, "nopmtudisc "); fprintf(f, "nopmtudisc ");
if (tb[IFLA_IPTUN_FLAGS]) { if (tb[IFLA_IPTUN_FLAGS]) {
__u16 iflags = rta_getattr_u16(tb[IFLA_IPTUN_FLAGS]); __u16 iflags = rta_getattr_u16(tb[IFLA_IPTUN_FLAGS]);
if (iflags & SIT_ISATAP) if (iflags & SIT_ISATAP)
fprintf(f, "isatap "); fprintf(f, "isatap ");
} }
if (tb[IFLA_IPTUN_6RD_PREFIXLEN] && if (tb[IFLA_IPTUN_6RD_PREFIXLEN] &&
...@@ -314,12 +314,12 @@ static void iptunnel_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[ ...@@ -314,12 +314,12 @@ static void iptunnel_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[
printf("6rd-prefix %s/%u ", printf("6rd-prefix %s/%u ",
inet_ntop(AF_INET6, RTA_DATA(tb[IFLA_IPTUN_6RD_PREFIX]), inet_ntop(AF_INET6, RTA_DATA(tb[IFLA_IPTUN_6RD_PREFIX]),
s1, sizeof(s1)), s1, sizeof(s1)),
prefixlen); prefixlen);
if (relayprefix) { if (relayprefix) {
printf("6rd-relay_prefix %s/%u ", printf("6rd-relay_prefix %s/%u ",
format_host(AF_INET, 4, &relayprefix, s1, format_host(AF_INET, 4, &relayprefix, s1,
sizeof(s1)), sizeof(s1)),
relayprefixlen); relayprefixlen);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment