Message ID | 1401881891-4990-5-git-send-email-anarey@gmail.com |
---|---|
State | Accepted |
Headers | show |
On Wed, Jun 04, 2014 at 01:38:10PM +0200, Ana Rey wrote:
> Convert the type of a variable from uint16_t to uint8_t.
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/src/expr/reject.c b/src/expr/reject.c index 5aa555a..8fc99af 100644 --- a/src/expr/reject.c +++ b/src/expr/reject.c @@ -128,7 +128,7 @@ nft_rule_expr_reject_json_parse(struct nft_rule_expr *e, json_t *root, { #ifdef JSON_PARSING uint32_t type; - uint16_t code; + uint8_t code; if (nft_jansson_parse_val(root, "type", NFT_TYPE_U32, &type, err) < 0) return -1;
Convert the type of a variable from uint16_t to uint8_t. Signed-off-by: Ana Rey <anarey@gmail.com> --- src/expr/reject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)