summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpctl/parser.c')
-rw-r--r--usr.sbin/bgpctl/parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c
index a8bf259b0ac..7435538e0cc 100644
--- a/usr.sbin/bgpctl/parser.c
+++ b/usr.sbin/bgpctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.81 2017/10/15 20:44:21 deraadt Exp $ */
+/* $OpenBSD: parser.c,v 1.82 2018/07/10 13:03:06 benno Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -492,6 +492,7 @@ parse(int argc, char *argv[])
res.large_community.as = COMMUNITY_UNSET;
res.large_community.ld1 = COMMUNITY_UNSET;
res.large_community.ld2 = COMMUNITY_UNSET;
+ res.rtableid = getrtable();
TAILQ_INIT(&res.set);
if ((res.irr_outdir = getcwd(NULL, 0)) == NULL) {
fprintf(stderr, "getcwd failed: %s\n", strerror(errno));