From: laforge Date: Sat, 27 Apr 2002 19:45:51 +0000 (+0000) Subject: add PROTO=%d line if not tcp/udp/icmp (by Martin Josefsson) X-Git-Tag: ulogd-2.0.0beta2~454 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d5c0599f01537a422c6c5886e158dd558d2cf80;p=thirdparty%2Fulogd2.git add PROTO=%d line if not tcp/udp/icmp (by Martin Josefsson) --- diff --git a/extensions/ulogd_LOGEMU.c b/extensions/ulogd_LOGEMU.c index 5222786..4faf95f 100644 --- a/extensions/ulogd_LOGEMU.c +++ b/extensions/ulogd_LOGEMU.c @@ -1,4 +1,4 @@ -/* ulogd_LOGEMU.c, Version $Revision: 1.7 $ +/* ulogd_LOGEMU.c, Version $Revision: 1.8 $ * * ulogd output target for syslog logging emulation * @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: ulogd_LOGEMU.c,v 1.7 2001/09/01 11:51:54 laforge Exp $ + * $Id: ulogd_LOGEMU.c,v 1.8 2001/09/27 15:45:25 laforge Exp $ * */ @@ -231,6 +231,9 @@ int _output_logemu(ulog_iret_t *res) break; } break; + default: + + fprintf(of, "PROTO=%u ", GET_VALUE(11).ui8); } fprintf(of,"\n");