summaryrefslogtreecommitdiffstats
path: root/src/expr/reject.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/reject.c')
-rw-r--r--src/expr/reject.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/expr/reject.c b/src/expr/reject.c
index 6b923ad..8a0653d 100644
--- a/src/expr/reject.c
+++ b/src/expr/reject.c
@@ -38,8 +38,6 @@ static int nftnl_expr_reject_set(struct nftnl_expr *e, uint16_t type,
case NFTNL_EXPR_REJECT_CODE:
memcpy(&reject->icmp_code, data, sizeof(reject->icmp_code));
break;
- default:
- return -1;
}
return 0;
}