/[pengfork]/pengfork/src/resolver.c
ViewVC logotype

Diff of /pengfork/src/resolver.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by chupa, Sat Dec 7 14:01:24 2002 UTC revision 1.9 by chupa, Fri Dec 13 15:29:15 2002 UTC
# Line 61  resolve_access () Line 61  resolve_access ()
61    
62    if (strstr (PARAM_ACCESS_METHOD, "modem"))    if (strstr (PARAM_ACCESS_METHOD, "modem"))
63      {      {
64  #ifdef WITH_MODEM  #if ENABLE_MODEM
65        haccess = &modem_access;        haccess = &modem_access;
66  #else  #else
67        log (LOG_ERR, gettext ("Sorry modem support is not compiled in\n"));        log (LOG_ERR, gettext ("Sorry modem support is not compiled in\n"));
# Line 71  resolve_access () Line 71  resolve_access ()
71    
72    else if (strstr (PARAM_ACCESS_METHOD, "tcpip"))    else if (strstr (PARAM_ACCESS_METHOD, "tcpip"))
73      {      {
74  #ifdef WITH_TCPIP  #if ENABLE_TCPIP
75        haccess = &tcpip_access;        haccess = &tcpip_access;
76  #else  #else
77        log (LOG_ERR, gettext ("Sorry TCP/IP support is not compiled in\n"));        log (LOG_ERR, gettext ("Sorry TCP/IP support is not compiled in\n"));
# Line 81  resolve_access () Line 81  resolve_access ()
81    
82    else if (strstr (PARAM_ACCESS_METHOD, "cable"))    else if (strstr (PARAM_ACCESS_METHOD, "cable"))
83      {      {
84  #ifdef WITH_CABLE  #if ENABLE_CABLE
85        haccess = &cable_access;        haccess = &cable_access;
86  #else  #else
87        log (LOG_ERR, gettext ("Sorry cable support is not compiled in\n"));        log (LOG_ERR, gettext ("Sorry cable support is not compiled in\n"));
# Line 99  resolve_iface () Line 99  resolve_iface ()
99      lowerize (PARAM_INTERFACE_TYPE);      lowerize (PARAM_INTERFACE_TYPE);
100    if (strstr (PARAM_INTERFACE_TYPE, "tun"))    if (strstr (PARAM_INTERFACE_TYPE, "tun"))
101      {      {
102  #ifdef WITH_TUN  #if ENABLE_TUN
103        iface = &tun_iface;        iface = &tun_iface;
104  #else  #else
105        log (LOG_ERR, gettext ("Sorry tun support is not compiled in\n"));        log (LOG_ERR, gettext ("Sorry tun support is not compiled in\n"));
# Line 117  resolve_protocol () Line 117  resolve_protocol ()
117      lowerize (PARAM_PROTOCOL);      lowerize (PARAM_PROTOCOL);
118    if (strstr (PARAM_PROTOCOL, "p3"))    if (strstr (PARAM_PROTOCOL, "p3"))
119      {      {
120  #ifdef WITH_P3  #if ENABLE_P3
121        protocol = &p3_protocol;        protocol = &p3_protocol;
122  #else  #else
123        log (LOG_ERR, gettext ("Sorry P3 support is not compiled in\n"));        log (LOG_ERR, gettext ("Sorry P3 support is not compiled in\n"));

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26