/* Copyright 1986 by the Massachusetts Institute of Technology */
/* See permission and disclaimer notice in file notice.h */

#include	<notice.h>

/*
 *------------------------------------------------------------------
 *
 * $Source: $
 * $Revision: $
 * $Date: $
 * $State: $
 * $Author: $
 * $Locker: $
 *
 * $Log: $
 *------------------------------------------------------------------
 */

#ifndef lint
static char *rcsid_ftime_c = "$Header: $";
#endif	lint

#include	<types.h>
#include	<sys.h>
#include	"../src/const.h"
#include	"../src/param.h"
#include	"../src/defs.h"
#include	"../src/macs.h"
#include	"../src/net.h"
#include	"../src/ext.h"
#include	"in.h"
#include	"inparam.h"
#include	"inext.h"

ntp_in(iob)
reg	iorb	*iob;
{
  time_in(iob);
}
/* A fake TIME packet handler for gateways that aren't running the 
   TIME protocl. */
time_in(iob)
reg	iorb	*iob;
{
	reg	inpkt	*pkt;

	niflog(L_ERRU) {
		pkt = mkin(iob->i_addr);
		dolog("IN TIME packet from %d.%d.%d.%d no server\n",
		      mksina(&pkt->i_src));
	}

	freebuf(iob);
	return;
}
