← Back to team overview

hipl-core team mailing list archive

[Branch ~hipl-core/hipl/trunk] Rev 4890: whitespace cosmetics

 

------------------------------------------------------------
revno: 4890
committer: Diego Biurrun <diego@xxxxxxxxxx>
branch nick: trunk
timestamp: Wed 2010-08-18 18:21:16 +0200
message:
  whitespace cosmetics
modified:
  firewall/conntrack.c
  firewall/user_ipsec_fw_msg.c


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'firewall/conntrack.c'
--- firewall/conntrack.c	2010-08-18 16:14:20 +0000
+++ firewall/conntrack.c	2010-08-18 16:21:16 +0000
@@ -799,7 +799,7 @@
  * @return zero on success and non-zero on error
  */
 static int hipfw_handle_relay_to_r2(const struct hip_common *common,
-                                 const hip_fw_context_t *ctx)
+                                    const hip_fw_context_t *ctx)
 {
     struct iphdr *iph = (struct iphdr *) ctx->ipq_packet->payload;
     struct hip_relay_to *relay_to = NULL; /* same format as relay_from */

=== modified file 'firewall/user_ipsec_fw_msg.c'
--- firewall/user_ipsec_fw_msg.c	2010-08-18 16:14:20 +0000
+++ firewall/user_ipsec_fw_msg.c	2010-08-18 16:21:16 +0000
@@ -160,8 +160,8 @@
 
     /* parse the esp protection extension parameters */
     HIP_IFEL(esp_prot_handle_sa_add_request(msg, &esp_prot_transform,
-                  &esp_num_anchors, esp_prot_anchors, &hash_item_length), -1,
-                  "failed to retrieve esp prot anchor\n");
+                                            &esp_num_anchors, esp_prot_anchors, &hash_item_length),
+             -1, "failed to retrieve esp prot anchor\n");
 
     param          = hip_get_param(msg, HIP_PARAM_KEYS);
     enc_key        = hip_get_param_contents_direct(param);
@@ -188,11 +188,11 @@
     HIP_DEBUG("the update value is %d \n", update);
 
     HIP_IFEL(hip_sadb_add(direction, spi, BEET_MODE, src_addr, dst_addr,
-                      src_hit, dst_hit, encap_mode, local_port, peer_port, ealg,
-                      auth_key, enc_key, DEFAULT_LIFETIME, esp_prot_transform,
-                      hash_item_length, esp_num_anchors, esp_prot_anchors,
-                      retransmission, update), -1,
-             "failed to add user_space IPsec security association\n");
+                          src_hit, dst_hit, encap_mode, local_port, peer_port, ealg,
+                          auth_key, enc_key, DEFAULT_LIFETIME, esp_prot_transform,
+                          hash_item_length, esp_num_anchors, esp_prot_anchors,
+                          retransmission, update),
+             -1, "failed to add user_space IPsec security association\n");
 
 out_err:
     return err;