diff options
author | Thomas Egerer <thomas.egerer@secunet.com> | 2015-10-06 11:02:45 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-11-10 15:40:14 +0100 |
commit | db61c37690b5bd1c9d157ad7a91d3a6a0b8684bc (patch) | |
tree | 39ea8590eff8751c55e050f1920211f27c851cd7 /src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c | |
parent | e8f2c13f9a80c53f4fae15119c5d2cdafb08726b (diff) | |
download | strongswan-db61c37690b5bd1c9d157ad7a91d3a6a0b8684bc.tar.bz2 strongswan-db61c37690b5bd1c9d157ad7a91d3a6a0b8684bc.tar.xz |
kernel-interface: Return bool for kernel interface registration
If the (un)registering of a kernel interface (net or ipsec) fails, the
plugin loader will never know, since the appropriate functions always
returns TRUE. By making the (un)register functions return a boolean
value, the loader can detect a failure during initializing the kernel
interface and abort charon startup if desired.
Diffstat (limited to 'src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c')
0 files changed, 0 insertions, 0 deletions