diff options
author | Bill Fenner <fenner@FreeBSD.org> | 2001-03-10 01:38:28 +0000 |
---|---|---|
committer | Bill Fenner <fenner@FreeBSD.org> | 2001-03-10 01:38:28 +0000 |
commit | 201d12605a37e896b42b251ea0cee62fcb36b58f (patch) | |
tree | e5e0b424129655786fc6115516be8c0ee388c129 /net/tcptrace/files/patch-ac | |
parent | Use X Prefix, like xmms itself. (diff) |
Handle private differently-prototyped ether_ntoa()
Notes
Notes:
svn path=/head/; revision=39331
Diffstat (limited to 'net/tcptrace/files/patch-ac')
-rw-r--r-- | net/tcptrace/files/patch-ac | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/tcptrace/files/patch-ac b/net/tcptrace/files/patch-ac new file mode 100644 index 000000000000..e9f23879ff75 --- /dev/null +++ b/net/tcptrace/files/patch-ac @@ -0,0 +1,23 @@ +/usr/bin/diff --ignore-matching-lines=.*{$Id:|$Header:}.* -u print.c.orig print.c +--- print.c.orig Fri Mar 9 17:33:16 2001 ++++ print.c Fri Mar 9 17:34:12 2001 +@@ -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", shawn_ether_ntoa((struct ether_addr *)&pep->ether_shost)); ++ printf("\tETH Dest: %s\n", shawn_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) ++shawn_ether_ntoa (struct ether_addr *e) + { + unsigned char *pe; + static char buf[30]; |