summaryrefslogtreecommitdiff
path: root/proto/static/config.Y
diff options
context:
space:
mode:
Diffstat (limited to 'proto/static/config.Y')
-rw-r--r--proto/static/config.Y3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/static/config.Y b/proto/static/config.Y
index 215681e8..e746b63c 100644
--- a/proto/static/config.Y
+++ b/proto/static/config.Y
@@ -87,6 +87,9 @@ stat_nexthop:
this_snh->via = IPA_NONE;
this_snh->iface = if_get_by_name($2);
}
+ | stat_nexthop DEV TEXT {
+ this_snh->iface = if_get_by_name($3);
+ }
| stat_nexthop MPLS label_stack {
this_snh->mls = $3;
}