summaryrefslogtreecommitdiff
path: root/pbrd/pbr_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-09-03 19:12:44 -0400
committerGitHub <noreply@github.com>2019-09-03 19:12:44 -0400
commit453ff8cd87ac5cb41376d3f8959d3da62881b27d (patch)
treed49a5460a9ed536fca7d67dcdb902a73de745df3 /pbrd/pbr_zebra.c
parent9d559269246f6e0e7df7178d9b22957513c2f223 (diff)
parent95a9fe025a2052a05150a450f423f9731127294b (diff)
Merge pull request #4923 from Jafaral/pbrmark
pbrd: support mark matches
Diffstat (limited to 'pbrd/pbr_zebra.c')
-rw-r--r--pbrd/pbr_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbrd/pbr_zebra.c b/pbrd/pbr_zebra.c
index 466a9a13ae..d74d0fcd23 100644
--- a/pbrd/pbr_zebra.c
+++ b/pbrd/pbr_zebra.c
@@ -526,7 +526,7 @@ static void pbr_encode_pbr_map_sequence(struct stream *s,
stream_putw(s, 0); /* src port */
pbr_encode_pbr_map_sequence_prefix(s, pbrms->dst, family);
stream_putw(s, 0); /* dst port */
- stream_putl(s, 0); /* fwmark */
+ stream_putl(s, pbrms->mark);
if (pbrms->nhgrp_name)
stream_putl(s, pbr_nht_get_table(pbrms->nhgrp_name));
else if (pbrms->nhg)