mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-06 04:35:12 +02:00
pknlusr: fix formatting of a line
This commit is contained in:

committed by
Jan Engelhardt

parent
20e1b669fc
commit
86112194da
@@ -75,9 +75,7 @@ int main(void)
|
|||||||
perror("recvfrom()");
|
perror("recvfrom()");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
nlmsg = (struct xt_pknock_nl_msg *)(buf + sizeof(struct cn_msg) + sizeof(struct nlmsghdr));
|
||||||
nlmsg = (struct xt_pknock_nl_msg *) (buf + sizeof(struct cn_msg) + sizeof(struct nlmsghdr));
|
|
||||||
|
|
||||||
ip = inet_ntop(AF_INET, &nlmsg->peer_ip, ipbuf, sizeof(ipbuf));
|
ip = inet_ntop(AF_INET, &nlmsg->peer_ip, ipbuf, sizeof(ipbuf));
|
||||||
printf("rule_name: %s - ip %s\n", nlmsg->rule_name, ip);
|
printf("rule_name: %s - ip %s\n", nlmsg->rule_name, ip);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user