Changeset 519
- Timestamp:
- Dec 1, 2016, 8:19:42 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/Changelog
r518 r519 1 1 4.2.1: 2 * fix case sensitivity (tcp vs TCP, udp vs UDP) in portcheck 3 directives (reported by Anton H.) 2 4 * fix documentation typo ('make deploy-install' -> 3 5 'make install-deploy', reported by Ben) -
trunk/src/sh_portcheck.c
r516 r519 1945 1945 } 1946 1946 1947 1948 1947 /* Subroutine to add a required or optional port/service 1949 1948 */ … … 1967 1966 if (!p) 1968 1967 return -1; 1969 if (0 == strc mp(p, _("/tcp")))1968 if (0 == strcasecmp(p, _("/tcp"))) 1970 1969 proto = IPPROTO_TCP; 1971 else if (0 == strc mp(p, _("/udp")))1970 else if (0 == strcasecmp(p, _("/udp"))) 1972 1971 proto = IPPROTO_UDP; 1973 1972 else
Note:
See TracChangeset
for help on using the changeset viewer.