← Back to team overview

hipl-core team mailing list archive

[Branch ~hipl-core/hipl/trunk] Rev 4931: Fixed a compilation error occurring with --disable-rvs

 

------------------------------------------------------------
revno: 4931
committer: Miika Komu <miika@xxxxxx>
branch nick: trunk
timestamp: Mon 2010-09-13 18:53:22 +0300
message:
  Fixed a compilation error occurring with --disable-rvs
  
  hipd/input.c: In function ‘hip_receive_udp_control_packet’:
  hipd/input.c:654: error: incompatible types when assigning to type ‘struct in6_addr’ from type ‘struct in6_addr *’
modified:
  hipd/input.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 'hipd/input.c'
--- hipd/input.c	2010-09-09 01:12:24 +0000
+++ hipd/input.c	2010-09-13 15:53:22 +0000
@@ -651,7 +651,7 @@
          * used for setting up the SAs: handle_r1 creates one-way SA and
          * handle_i2 the other way; let's make sure that they are the
          * same. */
-        ctx->src_addr = &entry->peer_addr;
+        ipv6_addr_copy(&ctx->src_addr, &entry->peer_addr);
     }
 #endif
     HIP_IFEL(hip_receive_control_packet(ctx), -1,