Index: /trunk/docs/Changelog
===================================================================
--- /trunk/docs/Changelog	(revision 518)
+++ /trunk/docs/Changelog	(revision 519)
@@ -1,3 +1,5 @@
 4.2.1:
+	* fix case sensitivity (tcp vs TCP, udp vs UDP) in portcheck
+	directives (reported by Anton H.)
 	* fix documentation typo ('make deploy-install' ->
 	'make install-deploy', reported by Ben)
Index: /trunk/src/sh_portcheck.c
===================================================================
--- /trunk/src/sh_portcheck.c	(revision 518)
+++ /trunk/src/sh_portcheck.c	(revision 519)
@@ -1945,5 +1945,4 @@
 }
   
- 
 /* Subroutine to add a required or optional port/service
  */
@@ -1967,7 +1966,7 @@
   if (!p)
     return -1;
-  if (0 == strcmp(p, _("/tcp")))
+  if (0 == strcasecmp(p, _("/tcp")))
     proto = IPPROTO_TCP;
-  else if  (0 == strcmp(p, _("/udp")))
+  else if  (0 == strcasecmp(p, _("/udp")))
     proto = IPPROTO_UDP;
   else
