summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-01-16 12:08:07 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2009-01-16 12:08:07 +0100
commite3c460bc9034b30743dd861ddbdbc026cd2997b5 (patch)
tree4bc9432531636e8e1b1987deef5d7b14e1c0c431
parent3b108f18e8c151d9c570fd418fc822c1e9ad5e79 (diff)
Fixes some past config grammar update that caused password related regression.
-rw-r--r--proto/ospf/config.Y6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y
index 0956d9e3..00b6be7c 100644
--- a/proto/ospf/config.Y
+++ b/proto/ospf/config.Y
@@ -32,7 +32,7 @@ CF_KEYWORDS(RX, BUFFER, LARGE, NORMAL)
CF_GRAMMAR
-CF_ADDTO(proto, ospf_proto '}' { OSPF_PATT->passwords = get_passwords(); } )
+CF_ADDTO(proto, ospf_proto '}')
ospf_proto_start: proto_start OSPF {
this_proto = proto_config_new(&proto_ospf, sizeof(struct ospf_config));
@@ -83,7 +83,7 @@ ospf_area_item:
;
ospf_vlink:
- ospf_vlink_start '{' ospf_vlink_opts '}'
+ ospf_vlink_start '{' ospf_vlink_opts '}' { OSPF_PATT->passwords = get_passwords(); }
| ospf_vlink_start
;
@@ -237,7 +237,7 @@ ospf_iface_opt_list:
;
ospf_iface:
- ospf_iface_start iface_patt ospf_iface_opt_list
+ ospf_iface_start iface_patt ospf_iface_opt_list { OSPF_PATT->passwords = get_passwords(); }
;
ospf_iface_list: