[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Tue Jun 16 19:39:05 UTC 2020
New commits:
commit 7dd8224fa312b4f5bc4ee5167fd0eb3a035f854d
Author: Andrew Cagney <cagney at gnu.org>
Date: Sun Jun 14 12:13:40 2020 -0400
ip: add text_cidr_to_subnet(), test, use
replace the hack:
diagq(ttosubnet(optarg, 0,
msg.tunnel_addr_family,
'0' /* ip/mask host bits on allowed */,
&msg.right.host_vtiip), optarg);
/* ttosubnet() sets to lowest subnet address, fixup needed */
diagq(tnatoaddr(optarg, strchr(optarg, '/') - optarg, AF_UNSPEC, &msg.right.host_vtiip.addr), optarg);
update ip_subnet's description pointing out that it is used as a:
subnet: ROUTING_PREFIX|0..0
CIDR: ROUTING_PREFIX|HOST_IDENTIFIER
More information about the Swan-commit
mailing list