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