summaryrefslogtreecommitdiffstats
path: root/zebra/rtadv.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/rtadv.c')
-rw-r--r--zebra/rtadv.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index b8cf2d490..a7679cb83 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -263,7 +263,7 @@ static void rtadv_send_packet(int sock, struct interface *ifp)
for RL,
but not
for HAL*/
- );
+ );
len += sizeof(struct nd_opt_homeagent_info);
}
@@ -1274,8 +1274,9 @@ DEFUN (ipv6_nd_prefix,
{
/* prelude */
char *prefix = argv[3]->arg;
- int lifetimes = (argc > 4) && (argv[4]->type == RANGE_TKN
- || strmatch(argv[4]->text, "infinite"));
+ int lifetimes = (argc > 4)
+ && (argv[4]->type == RANGE_TKN
+ || strmatch(argv[4]->text, "infinite"));
int routeropts = lifetimes ? argc > 6 : argc > 4;
int idx_routeropts = routeropts ? (lifetimes ? 6 : 4) : 0;