#!/bin/bash

source ./kernel_config_utils.sh
source ./net_utils.sh

iptables_comment_check() {
    if ! kernel_config_check CONFIG_NETFILTER_XT_MATCH_COMMENT xt_comment; then
        return 1
    fi

    if ! iptables_rule_check mangle PREROUTING -m comment --comment "dodo"; then
        return 1
    fi

    return 0
}

