From b181f444a6538b03a02296f02928e3c131b251a6 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Mon, 14 Feb 2005 11:54:16 +0000 Subject: Small changes to reduce number of warnings. --- proto/ospf/config.Y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/ospf/config.Y') 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: -- cgit v1.2.3