]> granicus.if.org Git - icinga2/commitdiff
Build fix
authorGunnar Beutner <gunnar@beutner.name>
Wed, 26 Aug 2015 05:10:49 +0000 (07:10 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Wed, 26 Aug 2015 05:10:49 +0000 (07:10 +0200)
refs #9623

lib/remote/endpoint.ti
lib/remote/remote-type.conf

index 21f58402c0ca32fe30fc203502e7a78131e81099..5866d36f7a9e3209f2f99cffa0b276bace56707f 100644 (file)
@@ -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 {
index 371a974ff310d4f96ae22d58dffc65d1e17f719a..c3d40965464638be70705dffa708d48784094ddc 100644 (file)
@@ -40,6 +40,8 @@
 
 %type Endpoint {
        %attribute %string "host",
+
+       %require "port",
        %attribute %string "port",
 
        %attribute %number "log_duration"