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:
+2
-3
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user