blob: 67684572179f861da77d6866d944ad27ad95cc8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-ac,v 1.3 2003/01/12 21:07:45 tron Exp $
--- print.c.orig Wed Sep 8 00:40:15 1999
+++ print.c Sun Jan 12 22:05:19 2003
@@ -110,8 +110,8 @@
printeth_packet(
struct ether_header *pep)
{
- printf("\tETH Srce: %s\n", ether_ntoa((struct ether_addr *)&pep->ether_shost));
- printf("\tETH Dest: %s\n", ether_ntoa((struct ether_addr *)&pep->ether_dhost));
+ printf("\tETH Srce: %s\n", my_ether_ntoa((struct ether_addr *)&pep->ether_shost));
+ printf("\tETH Dest: %s\n", my_ether_ntoa((struct ether_addr *)&pep->ether_dhost));
printf(
hex?"\t Type: 0x%x %s\n":"\t Type: %d %s\n",
@@ -708,7 +708,7 @@
/* and it messes up my cross-platform testing. I'll just do it the */
/* "one true" way! :-) */
char *
-ether_ntoa (struct ether_addr *e)
+my_ether_ntoa (struct ether_addr *e)
{
unsigned char *pe;
static char buf[30];
|