summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4d9751d)
SCCS-vsn: sbin/ping/ping.c 8.3
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)ping.c 8.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)ping.c 8.3 (Berkeley) %G%";
continue;
if (i == old_rrlen
&& cp == (u_char *)buf + sizeof(struct ip) + 2
continue;
if (i == old_rrlen
&& cp == (u_char *)buf + sizeof(struct ip) + 2
- && !bcmp((char *)cp, old_rr, i)
+ && !memcmp(cp, old_rr, i)
&& !(options & F_FLOOD)) {
(void)printf("\t(same route)");
i = ((i + 3) / 4) * 4;
&& !(options & F_FLOOD)) {
(void)printf("\t(same route)");
i = ((i + 3) / 4) * 4;