Package: net-tools
Version: 1.60-19
Severity: wishlist

the masq_info.c code should consider just raw "IP":

--- a/lib/masq_info.c
+++ b/lib/masq_info.c
@@ -119,7 +119,9 @@ static int read_masqinfo(FILE * f, struct masq *mslist, int 
nmslist)
        ms->src.sin_family = AF_INET;
        ms->dst.sin_family = AF_INET;
 
-       if (strcmp("TCP", buf) == 0)
+       if (strcmp("IP", buf) == 0)
+           ms->proto = "ip";
+       else if (strcmp("TCP", buf) == 0)
            ms->proto = "tcp";
        else if (strcmp("UDP", buf) == 0)
            ms->proto = "udp";


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24.4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages net-tools depends on:
ii  libc6                         2.7-8      GNU C Library: Shared libraries

net-tools recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to