state-disabled.c 305 Bytes
Newer Older
1
/*
2 3
 * Aurelio Colosimo for CERN, 2011 -- GNU LGPL v2.1 or later
 * Based on PTPd project v. 2.1.0 (see AUTHORS for details)
4
 */
5

6
#include <pptp/pptp.h>
7 8 9

int pp_disabled(struct pp_instance *ppi, unsigned char *pkt, int plen)
{
10 11
	/* nothing to do */
	ppi->next_delay = PP_DEFAULT_NEXT_DELAY_MS;
12 13
	return 0;
}