From: bodea Date: Tue, 9 Nov 2004 05:48:28 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: release_2_0_5~4 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/c94265dbc20a09b7efc872d2737b7c0acf82a91e?ds=inline;hp=1be4c47f885820ba815e8c52330a22b0e6201826 *** empty log message *** --- diff --git a/ppp.c b/ppp.c index 078696d..809637c 100644 --- a/ppp.c +++ b/ppp.c @@ -1,6 +1,6 @@ // L2TPNS PPP Stuff -char const *cvs_id_ppp = "$Id: ppp.c,v 1.23 2004/11/09 05:42:53 bodea Exp $"; +char const *cvs_id_ppp = "$Id: ppp.c,v 1.24 2004/11/09 05:48:28 bodea Exp $"; #include #include @@ -771,7 +771,7 @@ void send_ipin(sessionidt s, u8 *buf, int len) if (session[s].snoop_ip && session[s].snoop_port) { // Snooping this session - snoop_send_packet(p + 4, l - 4, session[s].snoop_ip, session[s].snoop_port); + snoop_send_packet(buf + 4, len - 4, session[s].snoop_ip, session[s].snoop_port); } // Increment packet counters