34ab5ff1f3
ok kili@
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
--- print.c.orig Wed Nov 19 15:38:05 2003
|
|
+++ print.c Wed Jan 7 18:30:33 2009
|
|
@@ -137,8 +137,8 @@ static void
|
|
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", ether_ntoa((struct ether_addr *)&pep->ether_shost));
|
|
+ printf("\tETH Dest: %s\n", ether_ntoa((struct ether_addr *)&pep->ether_dhost));
|
|
|
|
printf(
|
|
hex?"\t Type: 0x%x %s\n":"\t Type: %d %s\n",
|
|
@@ -751,6 +751,7 @@ ipv6addr2str(
|
|
/* Lots of machines HAVE this, but they give slightly different formats */
|
|
/* and it messes up my cross-platform testing. I'll just do it the */
|
|
/* "one true" way! :-) */
|
|
+#if 0
|
|
char *
|
|
Ether_Ntoa (struct ether_addr *e)
|
|
{
|
|
@@ -762,8 +763,7 @@ Ether_Ntoa (struct ether_addr *e)
|
|
pe[0], pe[1], pe[2], pe[3], pe[4], pe[5]);
|
|
return(buf);
|
|
}
|
|
-
|
|
-
|
|
+#endif
|
|
|
|
/* represent the sequence numbers absolute or relative to 0 */
|
|
/* N.B.: will fail will sequence space wraps around more than once */
|