/[smeserver]/rpms/ppp/sme10/ppp-2.4.5-var_run_ppp.patch
ViewVC logotype

Contents of /rpms/ppp/sme10/ppp-2.4.5-var_run_ppp.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Feb 4 13:23:45 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: ppp-2_4_5-24_el7_sme, HEAD
sme10 branch

1 diff -up ppp-2.4.5/pppd/pathnames.h.var_run_ppp ppp-2.4.5/pppd/pathnames.h
2 --- ppp-2.4.5/pppd/pathnames.h.var_run_ppp 2010-11-23 10:14:24.557427000 +0100
3 +++ ppp-2.4.5/pppd/pathnames.h 2010-11-23 10:24:07.432426793 +0100
4 @@ -6,8 +6,9 @@
5
6 #ifdef HAVE_PATHS_H
7 #include <paths.h>
8 -
9 +#define _PPP_SUBDIR "ppp/"
10 #else /* HAVE_PATHS_H */
11 +#define _PPP_SUBDIR
12 #ifndef _PATH_VARRUN
13 #define _PATH_VARRUN "/etc/ppp/"
14 #endif
15 @@ -46,13 +54,9 @@
16 #endif /* IPX_CHANGE */
17
18 #ifdef __STDC__
19 -#define _PATH_PPPDB _ROOT_PATH _PATH_VARRUN "pppd2.tdb"
20 +#define _PATH_PPPDB _ROOT_PATH _PATH_VARRUN _PPP_SUBDIR "pppd2.tdb"
21 #else /* __STDC__ */
22 -#ifdef HAVE_PATHS_H
23 -#define _PATH_PPPDB "/var/run/pppd2.tdb"
24 -#else
25 -#define _PATH_PPPDB "/etc/ppp/pppd2.tdb"
26 -#endif
27 +#define _PATH_PPPDB _PATH_VARRUN _PPP_SUBDIR "pppd2.tdb"
28 #endif /* __STDC__ */
29
30 #ifdef PLUGIN

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed