On Fri, 17 Jul 2015, D. Hugh Redelmeier wrote:
commit 495e70a2fb2a4e93fc037fe27d85efcde59a824b
Author: D. Hugh Redelmeier <[email protected]>
Date: Fri Jul 17 11:26:14 2015 -0400
pluto: tweak dded2a81ba424a0eb0bad3aa44b2ad8f38060b5a; type of ipprotoid is
int
- if (ipprotoid == IPPROTO_ESP || ipprotoid == IPPROTO_AH)
+ if (proto_info != NULL) {
So I had changed it because I think the first line is much more clear.
If you do ESP or AH, get a SPI number.
The NULL check just obfuscates that......
Paul
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev