client: dump all arguments structure in debug mode
In longer term, there should be a proper split of common/dedicated arguments between modes (disjunct fields via union?) and also args_print should dump the arguments as per mode. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
This commit is contained in:
parent
60e14071b7
commit
5ac1d63528
@ -609,18 +609,25 @@ args_print(fence_virt_args_t *args)
|
||||
printf("-- args @ %p --\n", args);
|
||||
_pr_str(args->domain);
|
||||
_pr_int(args->op);
|
||||
|
||||
_pr_str(args->net.key_file);
|
||||
_pr_int(args->net.hash);
|
||||
_pr_str(args->net.addr);
|
||||
_pr_int(args->net.auth);
|
||||
_pr_int(args->net.port);
|
||||
_pr_int(args->net.ifindex);
|
||||
_pr_int(args->net.family);
|
||||
_pr_int(args->mode);
|
||||
_pr_int(args->debug);
|
||||
_pr_int(args->timeout);
|
||||
_pr_int(args->delay);
|
||||
_pr_int(args->retr_time);
|
||||
_pr_int(args->flags);
|
||||
_pr_int(args->debug);
|
||||
|
||||
_pr_str(args->net.addr);
|
||||
_pr_str(args->net.ipaddr);
|
||||
_pr_str(args->net.key_file);
|
||||
_pr_int(args->net.port);
|
||||
_pr_int(args->net.hash);
|
||||
_pr_int(args->net.auth);
|
||||
_pr_int(args->net.family);
|
||||
_pr_int(args->net.ifindex);
|
||||
|
||||
_pr_str(args->serial.device);
|
||||
_pr_str(args->serial.speed);
|
||||
_pr_str(args->serial.address);
|
||||
printf("-- end args --\n");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user