From b94bbe00278b0c6e84f34875367d85d34d08621b Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Mon, 31 May 1999 20:30:16 +0000 Subject: Added FIXME: mode broadcast randombly corrupts memory. Small cleaning and bugfixes. --- proto/rip/config.Y | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'proto/rip/config.Y') diff --git a/proto/rip/config.Y b/proto/rip/config.Y index c00ecc56..7443c44f 100644 --- a/proto/rip/config.Y +++ b/proto/rip/config.Y @@ -58,11 +58,12 @@ rip_auth: | NONE { $$=AT_NONE; } ; +/* FIXME FIXME this corrupts memory */ rip_mode: - BROADCAST { $$|=IM_BROADCAST; } - | QUIET { $$|=IM_QUIET; } - | NOLISTEN { $$|=IM_NOLISTEN; } - | VERSION1 { $$|=IM_VERSION1 | IM_BROADCAST; } + BROADCAST { $$=IM_BROADCAST; } + | QUIET { $$=IM_QUIET; } + | NOLISTEN { $$=IM_NOLISTEN; } + | VERSION1 { $$=IM_VERSION1 | IM_BROADCAST; } ; rip_iface_item: @@ -72,7 +73,7 @@ rip_iface_item: } | MODE rip_mode { struct rip_patt *k = rip_get_iface(); - k->mode = $2; + k->mode |= $2; } ; -- cgit v1.2.3