projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_4_Lite2 release
[unix-history]
/
usr
/
src
/
sbin
/
routed
/
if.c
diff --git
a/usr/src/sbin/routed/if.c
b/usr/src/sbin/routed/if.c
index
54e8705
..
68d4eb9
100644
(file)
--- a/
usr/src/sbin/routed/if.c
+++ b/
usr/src/sbin/routed/if.c
@@
-32,7
+32,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)if.c 8.
1 (Berkeley) 6/5/93
";
+static char sccsid[] = "@(#)if.c 8.
2 (Berkeley) 4/28/95
";
#endif /* not lint */
/*
#endif /* not lint */
/*
@@
-52,7
+52,7
@@
if_ifwithaddr(addr)
register struct interface *ifp;
#define same(a1, a2) \
register struct interface *ifp;
#define same(a1, a2) \
- (
bcmp((caddr_t)((a1)->sa_data), (caddr_t)((a2)->sa_data)
, 14) == 0)
+ (
memcmp((a1)->sa_data, (a2)->sa_data
, 14) == 0)
for (ifp = ifnet; ifp; ifp = ifp->int_next) {
if (ifp->int_flags & IFF_REMOTE)
continue;
for (ifp = ifnet; ifp; ifp = ifp->int_next) {
if (ifp->int_flags & IFF_REMOTE)
continue;