#ifndef lint
-static char sccsid[] = "@(#)route.c 4.3 82/10/06";
+static char sccsid[] = "@(#)route.c 4.5 82/11/14";
#endif
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/mbuf.h>
+
#include <net/if.h>
-#include <net/in.h>
#define KERNEL /* to get routehash and RTHASHSIZ */
#include <net/route.h>
+#include <netinet/in.h>
+
#include <netdb.h>
extern int kmem;
static char line[50];
int lna, net;
- net = in_netof(in);
- lna = in_lnaof(in);
+ net = inet_netof(in);
+ lna = inet_lnaof(in);
if (!nflag) {
if (lna == INADDR_ANY) {
struct netent *np = getnetbyaddr(net, AF_INET);