Skip to content
Commit 9d2f00fb authored by James Yonan's avatar James Yonan Committed by Pablo Neira Ayuso
Browse files

netfilter: nf_nat: in nf_nat_initialized(), use const struct nf_conn *



nf_nat_initialized() doesn't modify passed struct nf_conn,
so declare as const.

This is helpful for code readability and makes it possible
to call nf_nat_initialized() with a const struct nf_conn *.

Signed-off-by: default avatarJames Yonan <james@openvpn.net>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 6b772053
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment