From: Gunnar Beutner Date: Wed, 26 Aug 2015 05:10:49 +0000 (+0200) Subject: Build fix X-Git-Tag: v2.3.9~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d01330ac27a9cdc683fac6986089cf67e2ead422;p=icinga2 Build fix refs #9623 --- diff --git a/lib/remote/endpoint.ti b/lib/remote/endpoint.ti index 21f58402c..5866d36f7 100644 --- a/lib/remote/endpoint.ti +++ b/lib/remote/endpoint.ti @@ -25,7 +25,7 @@ namespace icinga class Endpoint : DynamicObject { [config] String host; - [config, required] String port { + [config] String port { default {{{ return "5665"; }}} }; [config] double log_duration { diff --git a/lib/remote/remote-type.conf b/lib/remote/remote-type.conf index 371a974ff..c3d409654 100644 --- a/lib/remote/remote-type.conf +++ b/lib/remote/remote-type.conf @@ -40,6 +40,8 @@ %type Endpoint { %attribute %string "host", + + %require "port", %attribute %string "port", %attribute %number "log_duration"