forked from extern/shorewall_code
Default TCPMSS_TARGET to 1 in old capabilities files.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
77165326f2
commit
9f96f58a0d
@ -5021,6 +5021,10 @@ sub read_capabilities() {
|
|||||||
$capabilities{KERNELVERSION} = 20630;
|
$capabilities{KERNELVERSION} = 20630;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( ( $capabilities{CAPVERSION} || 0 ) < 40609 ) {
|
||||||
|
$capabilities{TCPMSS_TARGET} = 1
|
||||||
|
}
|
||||||
|
|
||||||
$helpers_aliases{ftp} = 'ftp-0', $capabilities{FTP_HELPER} = 1 if $capabilities{FTP0_HELPER};
|
$helpers_aliases{ftp} = 'ftp-0', $capabilities{FTP_HELPER} = 1 if $capabilities{FTP0_HELPER};
|
||||||
$helpers_aliases{irc} = 'irc-0', $capabilities{IRC_HELPER} = 1 if $capabilities{IRC0_HELPER};
|
$helpers_aliases{irc} = 'irc-0', $capabilities{IRC_HELPER} = 1 if $capabilities{IRC0_HELPER};
|
||||||
$helpers_aliases{sane} = 'sane-0', $capabilities{SANE_HELPER} = 1 if $capabilities{SANE0_HELPER};
|
$helpers_aliases{sane} = 'sane-0', $capabilities{SANE_HELPER} = 1 if $capabilities{SANE0_HELPER};
|
||||||
|
Loading…
Reference in New Issue
Block a user