Revert the previous commit on objection from the maintainer. I

missed that natd has a -v option that will give similar functionality.

Requested by:	ru
This commit is contained in:
Josef Karthauser
2001-06-21 12:32:36 +00:00
parent dc352222aa
commit d782daf041
+2 -3
View File
@@ -586,7 +586,7 @@ static void DoAliasing (int fd, int direction)
static void FlushPacketBuffer (int fd) static void FlushPacketBuffer (int fd)
{ {
int wrote; int wrote;
char msgBuf[160]; char msgBuf[80];
/* /*
* Put packet back for processing. * Put packet back for processing.
*/ */
@@ -616,8 +616,7 @@ static void FlushPacketBuffer (int fd)
} }
else { else {
sprintf (msgBuf, "failed to write packet back (%s)", sprintf (msgBuf, "failed to write packet back");
FormatPacket((struct ip*) packetBuf));
Warn (msgBuf); Warn (msgBuf);
} }
} }