From 69a8259c5e438f949bd58b1a2f8e1d12a49f9216 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sun, 1 Jan 2012 12:02:20 +0100 Subject: [PATCH] Allows sticky link-local neighbors. Allows using NEF_STICKY neighbors with link-local addresses. This is used for static route nexthops, they can be specified like fe80::1%eth0 . --- conf/confbase.Y | 7 +++++++ nest/iface.c | 18 ++++++++++++++++++ nest/iface.h | 5 ++++- nest/neighbor.c | 13 +++++++------ proto/bgp/bgp.c | 2 +- proto/static/config.Y | 6 ++++-- proto/static/static.c | 14 ++++++-------- proto/static/static.h | 1 + 8 files changed, 48 insertions(+), 18 deletions(-) diff --git a/conf/confbase.Y b/conf/confbase.Y index 499a770e..14893f47 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -50,6 +50,7 @@ CF_DECLS struct f_path_mask *h; struct password_item *p; struct rt_show_data *ra; + struct iface *iface; void *g; bird_clock_t time; struct prefix px; @@ -65,6 +66,7 @@ CF_DECLS %token IPA %token SYM %token TEXT +%type ipa_scope %type expr bool pxlen %type