Changeset 244 for trunk/src


Ignore:
Timestamp:
Aug 21, 2009, 9:55:05 PM (15 years ago)
Author:
katerina
Message:

Fix for ticket #164 (report path/user for udp ports).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_port2proc.c

    r235 r244  
    347347              haddr.s_addr = (unsigned long)iface;
    348348
    349               if (haddr.s_addr == saddr->s_addr && port == sport)
     349              if ((proto == IPPROTO_UDP || haddr.s_addr == saddr->s_addr) && port == sport)
    350350                {
    351351                  struct sock_store * new = socklist;
Note: See TracChangeset for help on using the changeset viewer.