diff options
| author | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-08-01 08:19:27 +0000 |
|---|---|---|
| committer | sasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-08-01 08:19:27 +0000 |
| commit | cca9b9f61d00f638b51ad9286da82865f63c4e08 (patch) | |
| tree | f31f43477beebb3f1ad97a95d70e79584e05e0aa /src/zabbix_proxy | |
| parent | 4daf306cbcec1cc1eaf44c7b85b62e2e16f0e995 (diff) | |
| download | zabbix-cca9b9f61d00f638b51ad9286da82865f63c4e08.tar.gz zabbix-cca9b9f61d00f638b51ad9286da82865f63c4e08.tar.xz zabbix-cca9b9f61d00f638b51ad9286da82865f63c4e08.zip | |
- [DEV-195] added support of source ip address
git-svn-id: svn://svn.zabbix.com/trunk@5858 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_proxy')
| -rw-r--r-- | src/zabbix_proxy/proxy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zabbix_proxy/proxy.c b/src/zabbix_proxy/proxy.c index eb7bc161..da4587b7 100644 --- a/src/zabbix_proxy/proxy.c +++ b/src/zabbix_proxy/proxy.c @@ -118,6 +118,7 @@ int CONFIG_UNREACHABLE_POLLER_FORKS = 1; int CONFIG_LISTEN_PORT = 10051; char *CONFIG_LISTEN_IP = NULL; +char *CONFIG_SOURCE_IP = NULL; int CONFIG_TRAPPER_TIMEOUT = ZABBIX_TRAPPER_TIMEOUT; /**/ /*int CONFIG_NOTIMEWAIT = 0;*/ @@ -228,6 +229,7 @@ void init_config(void) {"UnavailableDelay",&CONFIG_UNAVAILABLE_DELAY,0,TYPE_INT,PARM_OPT,1,3600}, {"ListenIP",&CONFIG_LISTEN_IP,0,TYPE_STRING,PARM_OPT,0,0}, {"ListenPort",&CONFIG_LISTEN_PORT,0,TYPE_INT,PARM_OPT,1024,32768}, + {"SourceIP",&CONFIG_SOURCE_IP,0,TYPE_STRING,PARM_OPT,0,0}, /* {"NoTimeWait",&CONFIG_NOTIMEWAIT,0,TYPE_INT,PARM_OPT,0,1},*/ /* {"DisablePinger",&CONFIG_DISABLE_PINGER,0,TYPE_INT,PARM_OPT,0,1},*/ {"DebugLevel",&CONFIG_LOG_LEVEL,0,TYPE_INT,PARM_OPT,0,4}, |
