Minor cleanups

This commit is contained in:
Ondrej Zajicek (work) 2017-12-14 22:15:01 +01:00
parent 1e8721e2ae
commit 8396094156
2 changed files with 2 additions and 2 deletions

View file

@ -227,7 +227,7 @@ proto_item:
| IMPORT LIMIT limit_spec { this_proto->in_limit = $3; }
| EXPORT LIMIT limit_spec { this_proto->out_limit = $3; }
| IMPORT KEEP FILTERED bool { this_proto->in_keep_filtered = $4; }
| VRF TEXT { this_proto->vrf = if_get_by_name($2); }
| VRF text { this_proto->vrf = if_get_by_name($2); }
| TABLE rtable { this_proto->table = $2; }
| ROUTER ID idval { this_proto->router_id = $3; }
| DESCRIPTION text { this_proto->dsc = $2; }

View file

@ -169,7 +169,7 @@ radv_prepare_prefixes(struct radv_iface *ifa)
{
if (pfx->valid && !pfx->mark)
{
RADV_TRACE(D_EVENTS, "Invalidating prefix %I/$d on %s",
RADV_TRACE(D_EVENTS, "Invalidating prefix %I/%d on %s",
pfx->prefix, pfx->len, ifa->iface->name);
pfx->valid = 0;