commit | 0aa9e5a406bb07a5814178de38530a10fe87cf52 | [log] [download] |
---|---|---|
author | Darren Reed <darrenr@pobox.com> | Tue Mar 18 18:34:07 2008 +0000 |
committer | Darren Reed <darrenr@pobox.com> | Tue Mar 18 18:34:07 2008 +0000 |
tree | 07e5db8f67e6f1d7c6beeb131fab6f445dc7ef6a | |
parent | 9244f75ad083006f6db0922105044ed5c2d55af6 [diff] |
Refactor the way SIOCSTPUT inserts an entry into the NAT table to use ipf_nat_finalise(), which takes care of checksum calculations too. This pushes some code back up into ipf_nat_new() that needs to look at the rule pointer, which can be NULL if none was present in the ioctl.