summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/parser.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2019-01-20 23:30:16 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2019-01-20 23:30:16 +0000
commitc3b184c88a7ace5328f8e02108a5eb66e5b77501 (patch)
treeb55e212c2c2bf564038cd6a43c557ce49063b8af /usr.sbin/bgpctl/parser.h
parentccb85b4c8b85eccd56fc477802112d1153469938 (diff)
Allow 'neighbor descripton' to be used like neighbor group description
which will match all neighbors in that group. Works for bgpctl neighbor group <name> [clear|destroy|down|refresh|up] bgpctl show neighbor group <name> [messages|terse|timers] bgpctl show rib neighbor group <name> ... Manpage bits from sthen@ OK benno@ sthen@
Diffstat (limited to 'usr.sbin/bgpctl/parser.h')
-rw-r--r--usr.sbin/bgpctl/parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpctl/parser.h b/usr.sbin/bgpctl/parser.h
index e534716a723..236dea8467e 100644
--- a/usr.sbin/bgpctl/parser.h
+++ b/usr.sbin/bgpctl/parser.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.h,v 1.33 2018/12/19 15:27:29 claudio Exp $ */
+/* $OpenBSD: parser.h,v 1.34 2019/01/20 23:30:15 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -68,6 +68,7 @@ struct parse_result {
char shutcomm[SHUT_COMM_LEN];
char *irr_outdir;
int flags;
+ int is_group;
u_int8_t validation_state;
u_int rtableid;
enum actions action;