]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sys-linux.c
fix problem where lcp echo requests were getting doubled,
[ppp.git] / pppd / sys-linux.c
index 0537e49da21b140c916de2c49444bc98d948d40c..436a5f1af66eab217a846c70e7b0e04e44f8b653 100644 (file)
@@ -2402,7 +2402,7 @@ sys_check_options(void)
  */
     if (ipxcp_protent.enabled_flag) {
        struct stat stat_buf;
-        if (path_to_procfs("/net/ipx_interface")
+        if (!path_to_procfs("/net/ipx_interface")
            || lstat (route_buffer, &stat_buf) < 0) {
            error("IPX support is not present in the kernel\n");
            ipxcp_protent.enabled_flag = 0;