#

/* Copyright 1984 by the Massachusetts Institute of Technology */
/* See permission and disclaimer notice in file notice.h */
#include	<notice.h>


/* Fake CHAOS forwarder for systems with no CHAOS support. 
 */

#include	<types.h>
#include	<sys.h>
#include	"../src/const.h"
#include	"../src/defs.h"
#include	"../src/macs.h"
#include	"../src/net.h"
#include	"../src/ext.h"
#include	"ch.h"
#include	"chparam.h"


static char	chdisc[] =	"CHAOS %o/%o -> %o/%o, ign\n";


chaddq(iob)
reg	iorb	*iob;

{	reg	ochpkt	*pkt;

	pkt = mkoch(iob->i_addr);
	niflog(L_TRCP)
		dolog(chdisc, mkscha(&pkt->oc_src), mkscha(&pkt->oc_dst));
	freebuf(iob);
}
