summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-09-18 13:59:04 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-09-18 13:59:04 +0200
commit54fe0d9230be440d9f627ff7f94a202e6117e1b9 (patch)
tree2c72ea7fc093a528bbd14bb70542fd912bc6bfa7 /filter
parentdb96fccb31bc0436ec182ff825f592d6c16dc930 (diff)
downloadbird-54fe0d9230be440d9f627ff7f94a202e6117e1b9.tar
bird-54fe0d9230be440d9f627ff7f94a202e6117e1b9.zip
Fixes setting of IP addresses to route attributes (NEXT_HOP).
Diffstat (limited to 'filter')
-rw-r--r--filter/filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/filter/filter.c b/filter/filter.c
index 6356632..8c0c4ab 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -664,6 +664,7 @@ interpret(struct f_inst *what)
struct adata *ad = lp_alloc(f_pool, sizeof(struct adata) + len);
ad->length = len;
(* (ip_addr *) ad->data) = v1.val.px.ip;
+ l->attrs[0].u.ptr = ad;
break;
case EAF_TYPE_AS_PATH:
if (v1.type != T_PATH)