#!/opt/sum/bin/bash

source ./kernel_config_utils.sh

dropwatch_check() {
    local is_error

    is_error="false"
    if ! kernel_config_check CONFIG_NET_DROP_MONITOR drop_monitor; then
        is_error="true"
    fi
    if ! kernel_config_check CONFIG_NET_DEVLINK; then
        is_error="true"
    fi
    if [ "$is_error" == "true" ]; then
        return 1
    fi

    return 0
}

