summaryrefslogtreecommitdiffstats
path: root/ripd/rip_routemap.c
Commit message (Collapse)AuthorAgeFilesLines
* [ripd] bug #293: routemap set metric doesn't check for underflow correctlypaul2006-09-111-1/+1
| | | | | | | | 2006-09-11 Paul Jakma <paul.jakma@sun.com> * rip_routemap.c: (route_set_metric) underflow check needs to use signed, problem identified and diagnosed by Pavel Nikiforov in bug #293.
* 2005-10-26 Paul Jakma <paul.jakma@sun.com>paul2005-10-251-42/+42
| | | | | | * (general) static/extern functions and definitions. * rip_interface.h: new file, export the public functions from rip_interface.c
* 2005-09-29 Alain Ritoux <alain.ritoux@6wind.com>vincent2005-09-291-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | * lib/filer.c: show protocol name in filter_show() * lib/plist.c: show protocol name in vty_show_prefix_entry() * routemap.c: show protocol name in vty_show_route_map_entry() * lib/vty.c: in vty_command(), show protocol name if command unknown * zebra/zserv.c: Always provide distance fo route add * ripd/rip_snmp.c: rip2IfConfReceive() sends values in conformance with RFC. Also PeerDomain is now set to a STRING type. * ripd/ripd.h: rip_redistribute_add() API includes metric and distance * ripd/ripd.c: rip_redistribute_add() API i.e. stores metric and distance Now allows a RIP-route to overcome a redistributed route coming from a protocol with worse (higher) administrative distance Metrics from redistribution are shown in show ip rip * ripd/rip_zebra.c: adapt to the rip_redistribute_add() API, i.e. provide distance and metric * ripd/rip_interface.c: adapt to the rip_redistribute_add() API * ripd/rip_routemap.c: no RMAP_COMPILE_ERROR on (metric > 16) usage rather a CMD_WARNING, because set metric ius shared with other protocols using larger values (such as OSPF) The match metric action takes first external metric if present (from redistribution) then RIP metric.
* Sync bgpd and ripd set_metric_addsub_cmd commands. Fixes bugzilla #192.hasso2005-05-281-1/+1
| | | | [backport candidate]
* * rip_routemap.c: In case of '0.0.0.0' used as 'nexthop', use senderhasso2005-05-261-2/+2
| | | | | | address as nexthop in routemap. Fixes bugzilla #186. [backport candidate]
* * rip_routemap.c: Make "match interface" routemap command match both -hasso2005-05-251-1/+1
| | | | | | in and out interfaces. Fixes bugzilla #185. [backport candidate]
* Sync with changes in lib. Make more strings const.hasso2004-10-111-16/+16
|
* There is no warnings here any more.hasso2004-10-081-4/+4
|
* 2004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-05-311-9/+2
| | | | | * ripd.c: Fixup compile warnings * rip_routemap.c: Ditto
* Unbroke "set metric" command in vtysh again.hasso2003-05-251-3/+10
|
* Merge RIP part of 6Wind patch.hasso2003-05-251-24/+249
|
* Hasso Tepperpaul2003-04-191-10/+19
| | | | | | http://hasso.linux.ee/zebra/ht-routemap-18042003_5.patch Trivial fixes to sync daemon's route-map commands to have same syntax. Fixes a lot of errors with "match ..." and "set ..." commands when using vtysh.
* Initial revisionpaul2002-12-131-0/+898