]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix #1669 making director's address required in traymonitor.conf
authorjgorig <jgorig@redhat.com>
Fri, 3 Dec 2010 08:30:27 +0000 (09:30 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:39:43 +0000 (14:39 +0200)
bacula/src/tray-monitor/tray_conf.c

index 2c2f0ec284de2b9ca4b261ff12053961d121cf8e..32d207cb0c114d42096328cc5a029d1a0553852d 100644 (file)
@@ -95,7 +95,7 @@ static RES_ITEM dir_items[] = {
    {"name",        store_name,     ITEM(res_dir.hdr.name), 0, ITEM_REQUIRED, 0},
    {"description", store_str,      ITEM(res_dir.hdr.desc), 0, 0, 0},
    {"dirport",     store_pint32,   ITEM(res_dir.DIRport),  0, ITEM_DEFAULT, 9101},
-   {"address",     store_str,      ITEM(res_dir.address),  0, 0, 0},
+   {"address",     store_str,      ITEM(res_dir.address),  0, ITEM_REQUIRED, 0},
    {"enablessl",   store_bool,     ITEM(res_dir.enable_ssl), 1, ITEM_DEFAULT, 0},
    {NULL, NULL, {0}, 0, 0, 0}
 };