summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-12-14 22:15:01 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-12-14 22:15:01 +0100
commit8396094156c2ddae279ec9c265100e28acb65a8d (patch)
treef5ffdeadf906dfcfdcf8c600c2f362aa3d9adc16
parent1e8721e2aeccfbc3f533e8b8abc07582cee77e9a (diff)
Minor cleanups
-rw-r--r--nest/config.Y2
-rw-r--r--proto/radv/radv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nest/config.Y b/nest/config.Y
index f51be6ea..358c7745 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -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; }
diff --git a/proto/radv/radv.c b/proto/radv/radv.c
index d53b65e3..7e8950c5 100644
--- a/proto/radv/radv.c
+++ b/proto/radv/radv.c
@@ -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;