From: Mark Andrews Date: Fri, 19 Apr 2013 13:46:41 +0000 (+1000) Subject: 3552. [bug] Wrong getopt option string for 'nsupdate -r'. X-Git-Tag: v9.10.0a1~406 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=d3c8ba219f7c0fd31aabd06ee6b8ef0e92ef9e14;p=thirdparty%2Fbind9.git 3552. [bug] Wrong getopt option string for 'nsupdate -r'. [RT# 33280] --- diff --git a/CHANGES b/CHANGES index eac11209e8b..8fae7ea3310 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +3552. [bug] Wrong getopt option string for 'nsupdate -r'. + [RT# 33280] + 3551. [bug] resolver.querydscp[46] were uninitialized. [RT #32686] 3550. [func] Unified the internal and export versions of the diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c index 90e4f3da7fb..ddb7d446e28 100644 --- a/bin/nsupdate/nsupdate.c +++ b/bin/nsupdate/nsupdate.c @@ -934,7 +934,7 @@ get_address(char *host, in_port_t port, isc_sockaddr_t *sockaddr) { INSIST(count == 1); } -#define PARSE_ARGS_FMT "dDML:y:ghlovk:p:PrR::t:Tu:" +#define PARSE_ARGS_FMT "dDML:y:ghlovk:p:Pr:R::t:Tu:" static void pre_parse_args(int argc, char **argv) {