summaryrefslogtreecommitdiffstats
path: root/src/nfnl_osf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nfnl_osf.c')
-rw-r--r--src/nfnl_osf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nfnl_osf.c b/src/nfnl_osf.c
index fb76fb0e..e9a7f1d1 100644
--- a/src/nfnl_osf.c
+++ b/src/nfnl_osf.c
@@ -221,7 +221,7 @@ static int osf_load_line(char *buffer, int len, int del,
memset(&f, 0, sizeof(struct nf_osf_user_finger));
- if (ctx->debug_mask & NFT_DEBUG_NETLINK)
+ if (ctx->debug_mask & NFT_DEBUG_MNL)
nft_print(ctx->octx, "Loading '%s'.\n", buffer);
for (i = 0; i < len && buffer[i] != '\0'; ++i) {
@@ -230,7 +230,7 @@ static int osf_load_line(char *buffer, int len, int del,
}
if (cnt != 8) {
- if (ctx->debug_mask & NFT_DEBUG_NETLINK)
+ if (ctx->debug_mask & NFT_DEBUG_MNL)
nft_print(ctx->octx, "Wrong input line '%s': cnt: %d, must be 8, i: %d, must be %d.\n", buffer, cnt, i, len);
return -EINVAL;
}
@@ -357,13 +357,13 @@ int nfnl_osf_load_fingerprints(struct netlink_ctx *ctx, int del)
int err = 0;
char buf[1024];
- if (ctx->debug_mask & NFT_DEBUG_NETLINK)
+ if (ctx->debug_mask & NFT_DEBUG_MNL)
nft_print(ctx->octx, "Opening OS signature file '%s'\n",
OS_SIGNATURES);
inf = fopen(OS_SIGNATURES, "r");
if (!inf) {
- if (ctx->debug_mask & NFT_DEBUG_NETLINK)
+ if (ctx->debug_mask & NFT_DEBUG_MNL)
nft_print(ctx->octx, "Failed to open file '%s'\n",
OS_SIGNATURES);