diff options
author | Ondrej Filip <feela@network.cz> | 2005-02-15 07:32:31 +0100 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2005-02-15 07:32:31 +0100 |
commit | 8ffc753441cd58acf46783de335062ed9af7a12e (patch) | |
tree | 5d2443610709e86a6309474bd66873e2e171abfc /proto/rip | |
parent | c025b85273178bc7c129bf54e420a91c775a9340 (diff) | |
download | bird-8ffc753441cd58acf46783de335062ed9af7a12e.tar bird-8ffc753441cd58acf46783de335062ed9af7a12e.zip |
Minor changes to keep gcc happy.
Diffstat (limited to 'proto/rip')
-rw-r--r-- | proto/rip/config.Y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/rip/config.Y b/proto/rip/config.Y index 4a352c6..bd303e9 100644 --- a/proto/rip/config.Y +++ b/proto/rip/config.Y @@ -37,7 +37,7 @@ CF_GRAMMAR CF_ADDTO(proto, rip_cfg '}') rip_cfg_start: proto_start RIP { - RIP_CFG = proto_config_new(&proto_rip, sizeof(struct rip_proto_config)); + this_proto = proto_config_new(&proto_rip, sizeof(struct rip_proto_config)); rip_init_config(RIP_CFG); } ; @@ -51,7 +51,7 @@ rip_cfg: | rip_cfg GARBAGE TIME expr ';' { RIP_CFG->garbage_time = $4; } | rip_cfg TIMEOUT TIME expr ';' { RIP_CFG->timeout_time = $4; } | rip_cfg AUTHENTICATION rip_auth ';' {RIP_CFG->authtype = $3; } - | rip_cfg password_list ';' {RIP_CFG->passwords = $2; } + | rip_cfg password_list ';' {RIP_CFG->passwords = (list *)$2; } | rip_cfg HONOR ALWAYS ';' { RIP_CFG->honor = HO_ALWAYS; } | rip_cfg HONOR NEIGHBOR ';' { RIP_CFG->honor = HO_NEIGHBOR; } | rip_cfg HONOR NEVER ';' { RIP_CFG->honor = HO_NEVER; } |