diff options
Diffstat (limited to 'src/expr/byteorder.c')
-rw-r--r-- | src/expr/byteorder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/byteorder.c b/src/expr/byteorder.c index 5f8e585..3805307 100644 --- a/src/expr/byteorder.c +++ b/src/expr/byteorder.c @@ -172,7 +172,7 @@ nftnl_expr_byteorder_parse(struct nftnl_expr *e, struct nlattr *attr) return ret; } -static char *expr_byteorder_str[] = { +static const char *expr_byteorder_str[] = { [NFT_BYTEORDER_HTON] = "hton", [NFT_BYTEORDER_NTOH] = "ntoh", }; |