=== modified file 'clients.conf' --- clients.conf 2008-09-21 13:42:34 +0000 +++ clients.conf 2009-01-08 03:54:06 +0000 @@ -14,7 +14,7 @@ ;interval = 5m # What command to run as "the checker". -;checker = fping -q -- %(host)s +;checker = fping -q -- %%(host)s ;#### === modified file 'mandos' --- mandos 2009-01-06 22:54:01 +0000 +++ mandos 2009-01-08 03:54:06 +0000 @@ -972,7 +972,7 @@ # Parse config file with clients client_defaults = { "timeout": "1h", "interval": "5m", - "checker": "fping -q -- %(host)s", + "checker": "fping -q -- %%(host)s", "host": "", } client_config = ConfigParser.SafeConfigParser(client_defaults) === modified file 'mandos-clients.conf.xml' --- mandos-clients.conf.xml 2009-01-04 21:54:55 +0000 +++ mandos-clients.conf.xml 2009-01-08 03:54:06 +0000 @@ -3,7 +3,7 @@ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ /etc/mandos/clients.conf"> - + %common; ]> @@ -170,7 +170,7 @@ PATH will be searched. The default value for the checker command is fping %(host)s. + >-- %%(host)s. In addition to normal start time expansion, this option @@ -351,7 +351,7 @@ [DEFAULT] timeout = 1h interval = 5m -checker = fping -q -- %(host)s +checker = fping -q -- %%(host)s # Client "foo" [foo] === modified file 'plugins.d/password-prompt.c' --- plugins.d/password-prompt.c 2009-01-04 21:54:55 +0000 +++ plugins.d/password-prompt.c 2009-01-08 03:54:06 +0000 @@ -79,7 +79,7 @@ .doc = "Debug mode", .group = 3 }, { .name = NULL } }; - + error_t parse_opt (int key, char *arg, struct argp_state *state) { /* Get the INPUT argument from `argp_parse', which we know is a pointer to our plugin list pointer. */ @@ -100,7 +100,7 @@ } return 0; } - + struct argp argp = { .options = options, .parser = parse_opt, .args_doc = "", .doc = "Mandos password-prompt -- Read and" @@ -111,7 +111,7 @@ return EXIT_FAILURE; } } - + if (debug){ fprintf(stderr, "Starting %s\n", argv[0]); } @@ -250,7 +250,7 @@ fprintf(stderr, "getline() returned 0, retrying.\n"); } } - + free(buffer); if (debug){