From f30b86f9d5004a3e159c385269e76efc71b1566a Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 7 Mar 2000 21:50:03 +0000 Subject: Added configuration of default protocol debugging flags. --- nest/config.Y | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'nest') diff --git a/nest/config.Y b/nest/config.Y index 9fce23a4..a4863dd2 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -19,7 +19,7 @@ CF_DECLS CF_KEYWORDS(ROUTER, ID, PROTOCOL, PREFERENCE, DISABLED, DEBUG, ALL, OFF, DIRECT) CF_KEYWORDS(INTERFACE, IMPORT, EXPORT, FILTER, NONE, TABLE, STATES, ROUTES, FILTERS) -CF_KEYWORDS(PASSWORD, FROM, PASSIVE, TO, ID, EVENTS, PACKETS) +CF_KEYWORDS(PASSWORD, FROM, PASSIVE, TO, ID, EVENTS, PACKETS, PROTOCOLS) CF_ENUM(T_ENUM_RTS, RTS_, DUMMY, STATIC, INHERIT, DEVICE, STATIC_DEVICE, REDIRECT, RIP, RIP_EXT, OSPF, OSPF_EXT, OSPF_IA, OSPF_BOUNDARY, BGP, PIPE) @@ -110,6 +110,12 @@ rtable: } ; +CF_ADDTO(conf, debug_default) + +debug_default: + DEBUG PROTOCOLS debug_mask { new_config->proto_default_debug = $3; } + ; + /* Interface patterns */ iface_patt: -- cgit v1.2.3