diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-02-01 18:51:46 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-02-13 11:33:17 +0100 |
commit | 37cbd6d1e4f65892bab87194479a3cf86fa181aa (patch) | |
tree | b94b0033f0055021a7e66b3e3b65972932b91d95 /src/main.c | |
parent | d9a94c8478156c97f9cca85d824964994a9b54bf (diff) | |
download | connman-37cbd6d1e4f65892bab87194479a3cf86fa181aa.tar.gz connman-37cbd6d1e4f65892bab87194479a3cf86fa181aa.tar.bz2 connman-37cbd6d1e4f65892bab87194479a3cf86fa181aa.zip |
nat: Move nat code into a seperate file
Instead of natting all traffic, nat.c will restrict the masquerading
on given network/mask.
The nat handling code will be reused by session.c
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -339,6 +339,7 @@ int main(int argc, char *argv[]) __connman_agent_init(); __connman_ippool_init(); __connman_iptables_init(); + __connman_nat_init(); __connman_tethering_init(); __connman_counter_init(); __connman_manager_init(); @@ -397,6 +398,7 @@ int main(int argc, char *argv[]) __connman_counter_cleanup(); __connman_agent_cleanup(); __connman_tethering_cleanup(); + __connman_nat_cleanup(); __connman_iptables_cleanup(); __connman_ippool_cleanup(); __connman_device_cleanup(); |