diff options
author | paul <paul> | 2002-12-13 21:07:36 +0000 |
---|---|---|
committer | paul <paul> | 2002-12-13 21:07:36 +0000 |
commit | 210b4dce34b39d96d68990c6461c9981e2d17630 (patch) | |
tree | 608a97278a06831ccbc1f9ce582f1bf4a27e6b39 /ripd/ripd.c | |
parent | b1189ba0a31d9b4bf4d446d44b22e590d92d5e89 (diff) | |
download | quagga-patch.z14631.ptp.rfc3021.tar.bz2 quagga-patch.z14631.ptp.rfc3021.tar.xz |
[zebra 14631] Generic PtP and RFC3021 interface addressing supportpatch.z14631.ptp.rfc3021
Diffstat (limited to 'ripd/ripd.c')
-rw-r--r-- | ripd/ripd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c index c63bf104..62ebd47c 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -976,7 +976,7 @@ rip_response_process (struct rip_packet *packet, int size, /* The datagram's IPv4 source address should be checked to see whether the datagram is from a valid neighbor; the source of the datagram must be on a directly connected network */ - if (! if_valid_neighbor (from->sin_addr)) + if (if_lookup_address (from->sin_addr) == NULL) { zlog_info ("This datagram doesn't came from a valid neighbor: %s", inet_ntoa (from->sin_addr)); @@ -1535,7 +1535,7 @@ rip_read (struct thread *t) } /* Check is this packet comming from myself? */ - if (if_check_address (from.sin_addr)) + if (if_lookup_exact_address (from.sin_addr)) { if (IS_RIP_DEBUG_PACKET) zlog_warn ("ignore packet comes from myself"); |