Index: /trunk/docs/Changelog
===================================================================
--- /trunk/docs/Changelog	(revision 243)
+++ /trunk/docs/Changelog	(revision 244)
@@ -1,2 +1,6 @@
+2.5.9:
+	* fixed a bug that prevented reporting of user/executable path
+	  for open UDP ports (issue reported by N. Rath)
+
 2.5.8a:
 	* fixed a bug in sh_files.c that would prevent samhain from
Index: /trunk/src/sh_port2proc.c
===================================================================
--- /trunk/src/sh_port2proc.c	(revision 243)
+++ /trunk/src/sh_port2proc.c	(revision 244)
@@ -347,5 +347,5 @@
 	      haddr.s_addr = (unsigned long)iface;
 
-	      if (haddr.s_addr == saddr->s_addr && port == sport)
+	      if ((proto == IPPROTO_UDP || haddr.s_addr == saddr->s_addr) && port == sport)
 		{
 		  struct sock_store * new = socklist;
