Lines 1-20
Link Here
|
1 |
--- lib/ipmi_firewall.c.orig Mon Mar 20 03:13:38 2006 |
|
|
2 |
+++ lib/ipmi_firewall.c Mon Mar 20 16:21:27 2006 |
3 |
@@ -849,6 +849,7 @@ |
4 |
struct ipmi_function_params p = {0xe, -1, -1, -1, -1}; |
5 |
struct bmc_fn_support * bmc_fn_support; |
6 |
unsigned int l, n, c; |
7 |
+ struct command_support * cmd; |
8 |
|
9 |
if ((argc > 0 && strncmp(argv[0], "help", 4) == 0) || ipmi_firewall_parse_args(argc, argv, &p) < 0) |
10 |
{ |
11 |
@@ -886,8 +887,7 @@ |
12 |
free(bmc_fn_support); |
13 |
return 0; |
14 |
} |
15 |
- struct command_support * cmd = |
16 |
- &bmc_fn_support->lun[p.lun].netfn[p.netfn>>1].command[p.command]; |
17 |
+ cmd = &bmc_fn_support->lun[p.lun].netfn[p.netfn>>1].command[p.command]; |
18 |
c = cmd->support; |
19 |
printf("(A)vailable, (C)onfigurable, (E)nabled: | A | C | E |\n"); |
20 |
printf("-----------------------------------------------------\n"); |