along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: net.c,v 1.35.4.29 2000/09/14 21:51:19 zarq Exp $
+ $Id: net.c,v 1.35.4.31 2000/09/22 16:20:07 guus Exp $
*/
#include "config.h"
{
real_packet_t rp;
cp
- do_encrypt((vpn_packet_t*)packet, &rp, cl->key);
+ do_encrypt((vpn_packet_t*)packet, &rp, cl->datakey);
rp.from = htonl(myself->vpn_ip);
rp.data.len = htons(rp.data.len);
rp.len = htons(rp.len);
vpn_packet_t vp;
int lenin;
cp
- do_decrypt((real_packet_t*)packet, &vp, cl->key);
+ do_decrypt((real_packet_t*)packet, &vp, cl->datakey);
add_mac_addresses(&vp);
if(debug_lvl > 3)