summaryrefslogtreecommitdiff
path: root/zebra/redistribute.h
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2007-04-10 19:24:45 +0000
committerPaul Jakma <paul.jakma@sun.com>2007-04-10 19:24:45 +0000
commit6dc686a29ecdfa8f8011eee17e4e6276ab175a0d (patch)
treebd4a1f7b1c32318584bec6b4f420089aadc81b07 /zebra/redistribute.h
parent37a217a59bfd32381034a0ce0adbac1c34cbec37 (diff)
[zebra] Bug #351: Don't redistribute routes to ipv4 link-local prefixes
2007-04-07 Paul Jakma <paul.jakma@sun.com> * lib/prefix.h: Add define to match IPv4 Link-Local addresses * zebra/redistribute.c: (zebra_check_addr) Don't redistribute routes to IPv4 link-local prefixes, fixes bug #351. * zebra/redistribute.h: Export zebra_check_addr. * zebra/router-id.c: (router_id_bad_address) re-use zebra_check_addr rather than implementing similar logic.
Diffstat (limited to 'zebra/redistribute.h')
-rw-r--r--zebra/redistribute.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/redistribute.h b/zebra/redistribute.h
index 9e78dfde..9ed99bc5 100644
--- a/zebra/redistribute.h
+++ b/zebra/redistribute.h
@@ -46,5 +46,7 @@ extern void zebra_interface_address_add_update (struct interface *,
extern void zebra_interface_address_delete_update (struct interface *,
struct connected *c);
+extern int zebra_check_addr (struct prefix *);
+
#endif /* _ZEBRA_REDISTRIBUTE_H */