Changeset 519 for trunk/src/sh_portcheck.c
- Timestamp:
- Dec 1, 2016, 8:19:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.