]> git.proxmox.com Git - mirror_ovs.git/blobdiff - lib/tc.c
tc: Fix mpls bottom of stack bit mask reporting.
[mirror_ovs.git] / lib / tc.c
index 6883608feca99664ef656be40e00735e781a47e9..ef3706425dde19caf7a25eed29ea72bfb0b250ee 100644 (file)
--- a/lib/tc.c
+++ b/lib/tc.c
@@ -533,7 +533,7 @@ nl_parse_flower_mpls(struct nlattr **attrs, struct tc_flower *flower)
     if (attrs[TCA_FLOWER_KEY_MPLS_BOS]) {
         bos = nl_attr_get_u8(attrs[TCA_FLOWER_KEY_MPLS_BOS]);
         set_mpls_lse_bos(&flower->key.mpls_lse, bos);
-        set_mpls_lse_ttl(&flower->mask.mpls_lse, 0xff);
+        set_mpls_lse_bos(&flower->mask.mpls_lse, 0xff);
     }
 
     if (attrs[TCA_FLOWER_KEY_MPLS_TC]) {