commit | cf96db1cef3e039f3a87c0bc36206b882e804949 | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Wed May 25 21:15:32 2005 +0000 |
committer | hasso <hasso> | Wed May 25 21:15:32 2005 +0000 |
tree | 10c9cb9bae5772bdfb340ae263b59a3d4deb3ce4 | |
parent | b5f29603399070041289729e175fbec085e8e904 [diff] [blame] |
* rip_routemap.c: Make "match interface" routemap command match both - in and out interfaces. Fixes bugzilla #185. [backport candidate]
diff --git a/ripd/rip_routemap.c b/ripd/rip_routemap.c index e9dae2a..63d0ccc 100644 --- a/ripd/rip_routemap.c +++ b/ripd/rip_routemap.c
@@ -228,7 +228,7 @@ rinfo = object; - if (rinfo->ifindex_out == ifp->ifindex) + if (rinfo->ifindex_out == ifp->ifindex || rinfo->ifindex == ifp->ifindex) return RMAP_MATCH; else return RMAP_NOMATCH;