X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/95f51977ddc18faa2e212f30c00a39540b39f325..ca67e7b465996afb3821d6a075c4dc6a7f0f5d52:/usr/src/etc/routed/inet.c diff --git a/usr/src/etc/routed/inet.c b/usr/src/etc/routed/inet.c index c353003d6a..e7da19d810 100644 --- a/usr/src/etc/routed/inet.c +++ b/usr/src/etc/routed/inet.c @@ -1,12 +1,18 @@ /* * 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 -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, @@ -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; {