From: Alan T. DeKok Date: Wed, 27 Jun 2018 22:21:30 +0000 (-0400) Subject: use pointer for types X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70feb00d548c508fdb6d0db71808eb0ffc6e4960;p=thirdparty%2Ffreeradius-server.git use pointer for types so that we can parse combo-ip to ipv4 or ipv6 --- diff --git a/src/main/command.c b/src/main/command.c index 4266a4d64e6..41815ef6047 100644 --- a/src/main/command.c +++ b/src/main/command.c @@ -921,7 +921,7 @@ int fr_command_run(FILE *fp, fr_cmd_t *head, int argc, char const *argv[]) /* * Parse the data to be sure it's well formed. */ - if (fr_value_box_from_str(NULL, &box, cmd->syntax_types[j], + if (fr_value_box_from_str(NULL, &box, &cmd->syntax_types[j], NULL, argv[i + j], -1, quote, true) < 0) { return -(i + j); }