<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi folks,<br>
<br>
whack in 3.6.38 do not accept 'sha2_truncbug' with arguments like '--sha2_truncbug=yes'. My patch fixes that.<br>
<br>
--- a/programs/pluto/whack.c<br>
&#43;&#43;&#43; b/programs/pluto/whack.c<br>
@@ -662,7 &#43;662,7 @@ static const struct option long_opts[] = {<br>
&nbsp;&nbsp;&nbsp;&nbsp; { &quot;tunnelipv4&quot;, no_argument, NULL, CD_TUNNELIPV4 &#43; OO },<br>
&nbsp;&nbsp;&nbsp;&nbsp; { &quot;tunnelipv6&quot;, no_argument, NULL, CD_TUNNELIPV6 &#43; OO },<br>
&nbsp;&nbsp;&nbsp;&nbsp; { &quot;pfs&quot;, no_argument, NULL, CD_PFS &#43; OO },<br>
-&nbsp;&nbsp;&nbsp; { &quot;sha2_truncbug&quot;, no_argument, NULL, CD_SHA2_TRUNCBUG &#43; OO },<br>
&#43;&nbsp;&nbsp;&nbsp; { &quot;sha2_truncbug&quot;, required_argument, NULL, CD_SHA2_TRUNCBUG &#43; OO },<br>
&nbsp;&nbsp;&nbsp;&nbsp; { &quot;aggrmode&quot;, no_argument, NULL, CD_AGGRESSIVE &#43; OO },<br>
&nbsp;&nbsp;&nbsp;&nbsp; { &quot;disablearrivalcheck&quot;, no_argument, NULL, CD_DISABLEARRIVALCHECK &#43; OO },<br>
&nbsp;&nbsp;&nbsp;&nbsp; { &quot;initiateontraffic&quot;, no_argument, NULL<br>
<br>
<font size="2"><span style="font-size:10pt;">Regards, Andrey</span></font><br>
<br>
PS. '--sha2_truncbug' (without arguments) causes segmentation fault in whack.<br>
</div>
</body>
</html>