]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/netfilter/xt_physdev.c
netfilter: physdev: add missed blank
[mirror_ubuntu-bionic-kernel.git] / net / netfilter / xt_physdev.c
index 1caaccbc306c7751f717aa1e223cf2ef30f00bec..bb33598e4530de1b468fa66ff292fb2283c6d517 100644 (file)
@@ -102,14 +102,14 @@ static int physdev_mt_check(const struct xt_mtchk_param *par)
        if (!(info->bitmask & XT_PHYSDEV_OP_MASK) ||
            info->bitmask & ~XT_PHYSDEV_OP_MASK)
                return -EINVAL;
-       if (info->bitmask & XT_PHYSDEV_OP_OUT &&
+       if (info->bitmask & (XT_PHYSDEV_OP_OUT | XT_PHYSDEV_OP_ISOUT) &&
            (!(info->bitmask & XT_PHYSDEV_OP_BRIDGED) ||
             info->invert & XT_PHYSDEV_OP_BRIDGED) &&
            par->hook_mask & ((1 << NF_INET_LOCAL_OUT) |
            (1 << NF_INET_FORWARD) | (1 << NF_INET_POST_ROUTING))) {
-               pr_info("using --physdev-out in the OUTPUT, FORWARD and "
-                       "POSTROUTING chains for non-bridged traffic is not "
-                       "supported anymore.\n");
+               pr_info("using --physdev-out and --physdev-is-out are only "
+                       "supported in the FORWARD and POSTROUTING chains with "
+                       "bridged traffic.\n");
                if (par->hook_mask & (1 << NF_INET_LOCAL_OUT))
                        return -EINVAL;
        }