mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 05:47:45 +00:00
Override default value for _PATH_DHCRELAY_PID
This commit is contained in:
parent
8afb9ae08c
commit
095a79940d
@ -91,6 +91,9 @@
|
||||
#ifndef _PATH_DHCLIENT_CONF
|
||||
#define _PATH_DHCLIENT_CONF "//e/etc/dhclient.conf"
|
||||
#endif
|
||||
#ifndef _PATH_DHCRELAY_PID
|
||||
#define _PATH_DHCRELAY_PID "//e/etc/dhcrelay.pid"
|
||||
#endif
|
||||
|
||||
#ifndef _PATH_RESOLV_CONF
|
||||
#define _PATH_RESOLV_CONF "//e/etc/resolv.conf"
|
||||
|
@ -59,7 +59,10 @@ extern int h_errno;
|
||||
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
|
||||
#endif
|
||||
#ifndef _PATH_DHCLIENT_PID
|
||||
#define _PATH_DHCLIENT_PID "/etc/dhcpd.pid"
|
||||
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
|
||||
#endif
|
||||
#ifndef _PATH_DHCRELAY_PID
|
||||
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
|
||||
#endif
|
||||
|
||||
#include <varargs.h>
|
||||
|
@ -70,6 +70,7 @@ extern int h_errno;
|
||||
#endif
|
||||
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
|
||||
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
|
||||
#define _PATH_DHCLIENT_PID "/etc/dhcrelay.pid"
|
||||
/* Stdarg definitions for ANSI-compliant C compilers. */
|
||||
#import <stdarg.h>
|
||||
#define VA_DOTDOTDOT ...
|
||||
|
@ -67,6 +67,9 @@ extern int h_errno;
|
||||
#ifndef _PATH_DHCLIENT_PID
|
||||
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
|
||||
#endif
|
||||
#ifndef _PATH_DHCRELAY_PID
|
||||
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
|
||||
#endif
|
||||
|
||||
#define EOL '\n'
|
||||
#define VOIDPTR void *
|
||||
|
@ -129,6 +129,9 @@ extern int h_errno;
|
||||
#ifndef _PATH_DHCLIENT_PID
|
||||
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
|
||||
#endif
|
||||
#ifndef _PATH_DHCRELAY_PID
|
||||
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
|
||||
#endif
|
||||
|
||||
/* Porting::
|
||||
|
||||
|
@ -77,7 +77,10 @@ extern int h_errno;
|
||||
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
|
||||
#endif
|
||||
#ifndef _PATH_DHCLIENT_PID
|
||||
#define _PATH_DHCLIENT_PID "/etc/dhcpd.pid"
|
||||
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
|
||||
#endif
|
||||
#ifndef _PATH_DHCRELAY_PID
|
||||
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
|
||||
#endif
|
||||
|
||||
#define INADDR_LOOPBACK ((u_int32_t)0x7f000001)
|
||||
|
@ -99,6 +99,9 @@ extern int h_errno;
|
||||
#ifndef _PATH_DHCLIENT_PID
|
||||
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
|
||||
#endif
|
||||
#ifndef _PATH_DHCRELAY_PID
|
||||
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
/* Varargs stuff: use stdarg.h instead ... */
|
||||
|
@ -87,6 +87,9 @@ extern int h_errno;
|
||||
#ifndef _PATH_DHCLIENT_PID
|
||||
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
|
||||
#endif
|
||||
#ifndef _PATH_DHCRELAY_PID
|
||||
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
|
||||
#endif
|
||||
|
||||
#if defined (__GNUC__) || defined (__SVR4)
|
||||
/* Varargs stuff: use stdarg.h instead ... */
|
||||
|
@ -58,6 +58,9 @@ extern int h_errno;
|
||||
#ifndef _PATH_DHCLIENT_PID
|
||||
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
|
||||
#endif
|
||||
#ifndef _PATH_DHCRELAY_PID
|
||||
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
|
||||
#endif
|
||||
|
||||
#define int8_t char
|
||||
#define int16_t short
|
||||
|
Loading…
x
Reference in New Issue
Block a user