traffic-selector: Use calc_netbits() in RFC 3779 constructor
authorTobias Brunner <tobias@strongswan.org>
Tue, 25 Aug 2015 17:13:59 +0000 (19:13 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 27 Aug 2015 09:47:36 +0000 (11:47 +0200)
commitfe2443b01cfedb269a8305a07540c38347b852cf
tree3e3caf119b814219c91c3aaf72ff341556f92c4b
parentdf621413629d93d0a57e17e266b542631c5ec0c4
traffic-selector: Use calc_netbits() in RFC 3779 constructor

This properly detects prefixes encoded as ranges.
src/libstrongswan/selectors/traffic_selector.c