mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 17:48:35 +00:00
2003-10-13 Jay Fenlason <fenlason@redhat.com>
* ospf6d/ospf6_route.c: Fix 2 compile warnings.
This commit is contained in:
parent
3b424979f5
commit
cccf8af896
@ -666,7 +666,10 @@ ospf6_route_remove (struct ospf6_route_req *request,
|
||||
for (c = s; c < e; c++)
|
||||
{
|
||||
if ((c - s) % 4 == 0)
|
||||
snprintf (p++, line + sizeof (line) - p, " ");
|
||||
{
|
||||
snprintf (p, line + sizeof (line) - p, " ");
|
||||
p++;
|
||||
}
|
||||
snprintf (p, line + sizeof (line) - p, "%02x", *c);
|
||||
p += 2;
|
||||
}
|
||||
@ -678,7 +681,10 @@ ospf6_route_remove (struct ospf6_route_req *request,
|
||||
for (c = s; c < e; c++)
|
||||
{
|
||||
if ((c - s) % 4 == 0)
|
||||
snprintf (p++, line + sizeof (line) - p, " ");
|
||||
{
|
||||
snprintf (p, line + sizeof (line) - p, " ");
|
||||
p++;
|
||||
}
|
||||
snprintf (p, line + sizeof (line) - p, "%02x", *c);
|
||||
p += 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user