summaryrefslogtreecommitdiff
path: root/redhat
diff options
context:
space:
mode:
authorpaul <paul>2003-07-15 12:52:22 +0000
committerpaul <paul>2003-07-15 12:52:22 +0000
commit7021c425a9f5bd9f62b934124becbaadd961cac0 (patch)
treecf386f6923eac9f1c665400d0557448c4f5a89e0 /redhat
parent8fc0f64b143ed2155567f5c9f0faad756252146a (diff)
2003-07-15 Paul Jakma <paul@dishone.st>
* lib/version.h: add ZEBRA_URL (unused for now) * lib/vty.c: CMD_ERR_NOTHING_TODO when reading conf file should not be fatal. slight reformating. * ospfd/ospf_zebra.c: ignore reject/blackhole routes if zebra sends these type of routes. probably should be a new type of route to allow daemons to more easily choose whether to redistribute them - rathen than just a flag (eg for reject/blackhole). reorder the is_prefix_default test for ZEBRA_IPV4_ROUTE_DELETE to avoid the inverted test - slightly more readable. * redhat/zebra.spec.in: Add ospfapi port to services file, if with_ospfapi. * zebra/rib.h: Change nexthop types to an enum. * zebra/rt_netlink.c: run it through indent -nut. Add nexthop_types_desc[] descriptive array for nexthop types. (netlink_route_multipath) debug statements indicate which branch they are in and print out nexthop type. * zebra/zebra_rib.c: slight reformatting. * zebra/zebra_vty.c: Pass ZEBRA_FLAG_BLACKHOLE flag to static_add_ipv4() if Null0 route is configured. print out Null0 if STATIC_IPV4_BLACKHOLE route, and ignore flags (shouldnt be possible to set flags from vty) for config and show route.
Diffstat (limited to 'redhat')
-rw-r--r--redhat/zebra.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/zebra.spec.in b/redhat/zebra.spec.in
index 85b3b318..4e697893 100644
--- a/redhat/zebra.spec.in
+++ b/redhat/zebra.spec.in
@@ -191,6 +191,9 @@ zebra_spec_add_service bgpd 2605/tcp "BGPd vty"
%if %with_ipv6
zebra_spec_add_service ospf6d 2606/tcp "OSPF6d vty"
%endif
+%if %with_ospfapi
+zebra_spec_add_service ospfapi 2607/tcp "OSPF-API"
+%endif
/sbin/chkconfig --add zebra
/sbin/chkconfig --add ripd