mirror of
https://github.com/paulusmack/ppp.git
synced 2024-11-27 21:43:44 +08:00
From Marco D'Itri: fix for an earlier patch from him.
This commit is contained in:
parent
97a4e67df7
commit
bfe93d2ac7
@ -2808,8 +2808,8 @@ sys_check_options(void)
|
||||
|
||||
if (ipxcp_protent.enabled_flag) {
|
||||
struct stat stat_buf;
|
||||
if ((path = path_to_procfs("/net/ipx/interface")) == 0
|
||||
|| (path = path_to_procfs("/net/ipx_interface")) == 0
|
||||
if ( ((path = path_to_procfs("/net/ipx/interface")) == NULL
|
||||
&& (path = path_to_procfs("/net/ipx_interface")) == NULL)
|
||||
|| lstat(path, &stat_buf) < 0) {
|
||||
error("IPX support is not present in the kernel\n");
|
||||
ipxcp_protent.enabled_flag = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user