diff options
author | Doug Ambrisko <ambrisko@FreeBSD.org> | 2006-03-22 04:37:18 +0000 |
---|---|---|
committer | Doug Ambrisko <ambrisko@FreeBSD.org> | 2006-03-22 04:37:18 +0000 |
commit | f2440fcaaebc32ca5c3004d056919eaaca515390 (patch) | |
tree | ad4b16bcbcd34104aeefc40c2731f2fd9d7b604e /sysutils/ipmitool | |
parent | f17c591b9cd0e74a4a675dae49fcd668a44659d8 (diff) |
Notes
Diffstat (limited to 'sysutils/ipmitool')
-rw-r--r-- | sysutils/ipmitool/files/patch-lib-ipmi_firewall.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/ipmitool/files/patch-lib-ipmi_firewall.c b/sysutils/ipmitool/files/patch-lib-ipmi_firewall.c new file mode 100644 index 000000000000..39c523c31c27 --- /dev/null +++ b/sysutils/ipmitool/files/patch-lib-ipmi_firewall.c @@ -0,0 +1,20 @@ +--- lib/ipmi_firewall.c.orig Mon Mar 20 03:13:38 2006 ++++ lib/ipmi_firewall.c Mon Mar 20 16:21:27 2006 +@@ -849,6 +849,7 @@ + struct ipmi_function_params p = {0xe, -1, -1, -1, -1}; + struct bmc_fn_support * bmc_fn_support; + unsigned int l, n, c; ++ struct command_support * cmd; + + if ((argc > 0 && strncmp(argv[0], "help", 4) == 0) || ipmi_firewall_parse_args(argc, argv, &p) < 0) + { +@@ -886,8 +887,7 @@ + free(bmc_fn_support); + return 0; + } +- struct command_support * cmd = +- &bmc_fn_support->lun[p.lun].netfn[p.netfn>>1].command[p.command]; ++ cmd = &bmc_fn_support->lun[p.lun].netfn[p.netfn>>1].command[p.command]; + c = cmd->support; + printf("(A)vailable, (C)onfigurable, (E)nabled: | A | C | E |\n"); + printf("-----------------------------------------------------\n"); |