Merge pull request #222 from mslehto/tautological-compare
[sip-router] / modules / rls / rls.c
index 23c6a7c..26d9be0 100644 (file)
@@ -333,7 +333,7 @@ static int mod_init(void)
                                        port_str.len, port_str.s);
                                return -1;
                        }
-                       if(xcap_port< 0 || xcap_port> 65535)
+                       if(xcap_port< 1 || xcap_port> 65535)
                        {
                                LM_ERR("wrong xcap server port\n");
                                return -1;