diff options
Diffstat (limited to 'system-linux.c')
-rw-r--r-- | system-linux.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/system-linux.c b/system-linux.c index 654f2ac..9846e98 100644 --- a/system-linux.c +++ b/system-linux.c @@ -2954,6 +2954,15 @@ static int system_iprule(struct iprule *rule, int cmd) if (rule->flags & IPRULE_SUP_PREFIXLEN) nla_put_u32(msg, FRA_SUPPRESS_PREFIXLEN, rule->sup_prefixlen); + if (rule->flags & IPRULE_UIDRANGE) { + struct fib_rule_uid_range uidrange = { + .start = rule->uidrange_start, + .end = rule->uidrange_end + }; + + nla_put(msg, FRA_UID_RANGE, sizeof(uidrange), &uidrange); + } + if (rule->flags & IPRULE_GOTO) nla_put_u32(msg, FRA_GOTO, rule->gotoid); |