diff options
Diffstat (limited to 'proto/ospf/config.Y')
-rw-r--r-- | proto/ospf/config.Y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y index 91cd5b85..5f9f12ce 100644 --- a/proto/ospf/config.Y +++ b/proto/ospf/config.Y @@ -100,7 +100,7 @@ ospf_vlink_item: | AUTHENTICATION NONE { OSPF_PATT->autype = OSPF_AUTH_NONE ; } | AUTHENTICATION SIMPLE { OSPF_PATT->autype = OSPF_AUTH_SIMPLE ; } | AUTHENTICATION CRYPTOGRAPHIC { OSPF_PATT->autype = OSPF_AUTH_CRYPT ; } - | password_list {OSPF_PATT->passwords = $1; } + | password_list {OSPF_PATT->passwords = (list *) $1; } ; ospf_vlink_start: VIRTUAL LINK idval @@ -139,7 +139,7 @@ ospf_iface_item: | AUTHENTICATION NONE { OSPF_PATT->autype = OSPF_AUTH_NONE ; } | AUTHENTICATION SIMPLE { OSPF_PATT->autype = OSPF_AUTH_SIMPLE ; } | AUTHENTICATION CRYPTOGRAPHIC { OSPF_PATT->autype = OSPF_AUTH_CRYPT ; } - | password_list {OSPF_PATT->passwords = $1; } + | password_list {OSPF_PATT->passwords = (list *) $1; } ; pref_list: |