summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/config.Y6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/config.Y b/filter/config.Y
index e405cf06..74ebd600 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -131,7 +131,7 @@ f_new_tlv_item(u32 type, u32 v1)
}
static struct f_tree *
-f_new_tlv_remote_ep(u32 asn, struct f_val ep)
+f_new_tlv_remote_ep(u32 asn, ip_addr ip)
{
struct f_tree *t = f_new_tree();
t->right = t;
@@ -139,7 +139,7 @@ f_new_tlv_remote_ep(u32 asn, struct f_val ep)
struct tlv v;
v.type = TLV_REMOTE_ENDPOINT;
v.u.remote_endpoint.asn = asn;
- v.u.remote_endpoint.ip = ep.val.ip;
+ v.u.remote_endpoint.ip = ip;
t->from.val.tlv = v;
t->to.val.tlv = v;
return t;
@@ -785,7 +785,7 @@ tlv_item:
'(' TUNNEL_ENCAP ',' cnum ',' text ')' { $$ = f_new_tlv_encap($4, $6); }
| '(' UDP_DEST_PORT ',' cnum ')' { $$ = f_new_tlv_item(TLV_UDP_DEST_PORT, $4); }
| '(' COLOR ',' cnum ')' { $$ = f_new_tlv_item(TLV_COLOR, $4); }
- | '(' REMOTE_ENDPOINT ',' NUM ',' fipa ')' { $$ = f_new_tlv_remote_ep($4, $6); }
+ | '(' REMOTE_ENDPOINT ',' NUM ',' ipa ')' { $$ = f_new_tlv_remote_ep($4, $6); }
set_item:
pair_item