BSD 4_3_Tahoe release
[unix-history] / usr / src / etc / routed / inet.c
index c353003..e7da19d 100644 (file)
@@ -1,12 +1,18 @@
 /*
  * Copyright (c) 1983 Regents of the University of California.
 /*
  * Copyright (c) 1983 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that this notice is preserved and that due credit is given
+ * to the University of California at Berkeley. The name of the University
+ * may not be used to endorse or promote products derived from this
+ * software without specific prior written permission. This software
+ * is provided ``as is'' without express or implied warranty.
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)inet.c     5.4 (Berkeley) 6/3/86";
-#endif not lint
+static char sccsid[] = "@(#)inet.c     5.6 (Berkeley) 2/16/88";
+#endif /* not lint */
 
 /*
  * Temporarily, copy these routines from the kernel,
 
 /*
  * Temporarily, copy these routines from the kernel,
@@ -144,11 +150,11 @@ inet_rtflags(sin)
 }
 
 /*
 }
 
 /*
- * Return true if a route to subnet of route rt should be sent to dst.
- * Send it only if dst is on the same logical network,
- * or the route is the "internal" route for the net.
+ * Return true if a route to subnet/host of route rt should be sent to dst.
+ * Send it only if dst is on the same logical network if not "internal",
+ * otherwise only if the route is the "internal" route for the logical net.
  */
  */
-inet_sendsubnet(rt, dst)
+inet_sendroute(rt, dst)
        struct rt_entry *rt;
        struct sockaddr_in *dst;
 {
        struct rt_entry *rt;
        struct sockaddr_in *dst;
 {