mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-22 18:22:18 +00:00
I Imported more of Michele Bini's fixes.
This commit is contained in:
parent
5cbded5473
commit
9b8df0cd35
@ -347,8 +347,11 @@ void init_internet_gateway_search(void)
|
|||||||
* If we are sharing our internet connection, activate the
|
* If we are sharing our internet connection, activate the
|
||||||
* masquerading.
|
* masquerading.
|
||||||
*/
|
*/
|
||||||
if(server_opt.share_internet)
|
if(server_opt.share_internet) {
|
||||||
igw_exec_masquerade_sh(server_opt.ip_masq_script, 0);
|
igw_exec_masquerade_sh(server_opt.ip_masq_script, 0);
|
||||||
|
if(!server_opt.ip_masq_script)
|
||||||
|
fatal("No masquerading script was configured!");
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get the default gateway route currently set in the kernel routing
|
* Get the default gateway route currently set in the kernel routing
|
||||||
|
Loading…
Reference in New Issue
Block a user