// L2TPNS PPP Stuff
-char const *cvs_id_ppp = "$Id: ppp.c,v 1.66 2005-08-10 08:04:26 bodea Exp $";
+char const *cvs_id_ppp = "$Id: ppp.c,v 1.67 2005-08-10 08:59:23 bodea Exp $";
#include <stdio.h>
#include <string.h>
static void ipcp_open(tunnelidt t, sessionidt s)
{
- LOG(3, s, t, "IPCP Acked, session is now active\n");
+ LOG(3, s, t, "IPCP: Opened, session is now active\n");
change_state(s, ipcp, Opened);
int gotip = 0;
in_addr_t addr;
- LOG(3, s, t, "IPCP ConfigReq received\n");
+ LOG(3, s, t, "IPCP: ConfigReq received\n");
while (length > 2)
{
static void ipv6cp_open(tunnelidt t, sessionidt s)
{
- LOG(3, s, t, "IPV6CP Acked\n");
+ LOG(3, s, t, "IPV6CP: Opened\n");
change_state(s, ipv6cp, Opened);
if (session[s].ipv6prefixlen)
if (!config->ipv6_prefix.s6_addr[0])
{
- LOG(2, s, t, "IPV6CP %s rejected (not configured)\n", ppp_code(*p));
+ LOG(2, s, t, "IPV6CP: %s rejected (not configured)\n", ppp_code(*p));
*p = ProtocolRej;
q = makeppp(b, sizeof(b), p, l, t, s, PPPIPV6CP);
if (!q) return;
int gotip = 0;
uint8_t ident[8];
- LOG(3, s, t, "IPV6CP ConfigReq received\n");
+ LOG(3, s, t, "IPV6CP: ConfigReq received\n");
while (length > 2)
{
break;
case AckSent:
- LOG(3, s, t, "CCP Acked\n");
+ LOG(3, s, t, "CCP: Opened\n");
change_state(s, ccp, Opened);
break;