hipl-core team mailing list archive
-
hipl-core team
-
Mailing list archive
-
Message #00162
[Branch ~rene-hummen/hipl/ipsec_esp] Rev 4929: removed unnecessary insertion of IPsec security policies
------------------------------------------------------------
revno: 4929
committer: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
branch nick: ipsec_esp
timestamp: Wed 2010-09-08 18:12:15 +0200
message:
removed unnecessary insertion of IPsec security policies
There is no need to add security policies only when manually adding
HI->IP mapping through hipconf or for the opportunistic mode. Both
will result in the setup by completing a BEX.
modified:
hipd/hadb.c
--
lp:~rene-hummen/hipl/ipsec_esp
https://code.launchpad.net/~rene-hummen/hipl/ipsec_esp
Your team HIPL core team is subscribed to branch lp:~rene-hummen/hipl/ipsec_esp.
To unsubscribe from this branch go to https://code.launchpad.net/~rene-hummen/hipl/ipsec_esp/+edit-subscription
=== modified file 'hipd/hadb.c'
--- hipd/hadb.c 2010-08-25 12:53:17 +0000
+++ hipd/hadb.c 2010-09-08 16:12:15 +0000
@@ -515,10 +515,6 @@
HIP_IFEL(hip_hadb_add_peer_addr(entry, peer_addr, 0, 0, PEER_ADDR_STATE_ACTIVE, hip_get_peer_nat_udp_port()),
-2, "error while adding a new peer address\n");
- HIP_IFEL(hip_setup_hit_sp_pair(peer_hit, local_hit,
- local_addr, peer_addr, 0, 1, 0),
- -1, "Error in setting the SPs\n");
-
out_err:
return err;
}