diff options
author | Chia-chi Yeh <chiachi@android.com> | 2009-07-30 17:23:56 +0800 |
---|---|---|
committer | Chia-chi Yeh <chiachi@android.com> | 2009-07-30 17:23:56 +0800 |
commit | 9d271b685df5830e92a789119fe9b908da2f6c78 (patch) | |
tree | 999fe5724ee8e361bbbb792e9d0fb68b4f2b65eb /src | |
parent | 5cbb57af3a64593fc4bfbb2c42c3d24553e8bae4 (diff) | |
download | ipsec-tools-9d271b685df5830e92a789119fe9b908da2f6c78.tar.gz |
ipsec-tools: Minor performance tuning.
Diffstat (limited to 'src')
-rw-r--r-- | src/racoon/pfkey.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/racoon/pfkey.c b/src/racoon/pfkey.c index cbbf042..e73acc8 100644 --- a/src/racoon/pfkey.c +++ b/src/racoon/pfkey.c @@ -2718,6 +2718,8 @@ pk_recvspdflush(mhp) return 0; } +#ifndef ANDROID_PATCHED + /* * send error against acquire message to kenrel. */ @@ -2754,6 +2756,15 @@ pk_sendeacquire(iph2) return 0; } +#else + +int pk_sendeacquire(struct ph2handle *iph2) +{ + exit(1); +} + +#endif + /* * check if the algorithm is supported or not. * OUT 0: ok |