mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2026-01-20 14:13:52 +01:00
pknock: mark peer address as __be32
Since the address is now stored in its original network byte order, let's annotate that this is indeed the case.
This commit is contained in:
@@ -45,7 +45,7 @@ struct xt_pknock_mtinfo {
|
||||
|
||||
struct xt_pknock_nl_msg {
|
||||
char rule_name[XT_PKNOCK_MAX_BUF_LEN+1];
|
||||
uint32_t peer_ip;
|
||||
__be32 peer_ip;
|
||||
};
|
||||
|
||||
#endif /* _XT_PKNOCK_H */
|
||||
|
||||
Reference in New Issue
Block a user