mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-08 00:02:03 -04:00
kernel-wfp: Print filter weight in "ipsecdump filters"
This commit is contained in:
parent
c6f189e448
commit
1ca2b1615a
@ -627,6 +627,10 @@ static bool list_filters(HANDLE engine)
|
|||||||
print_display_data(&entries[0]->displayData);
|
print_display_data(&entries[0]->displayData);
|
||||||
printf("'\n");
|
printf("'\n");
|
||||||
printf(" %s, ", layer);
|
printf(" %s, ", layer);
|
||||||
|
if (entries[0]->effectiveWeight.type == FWP_UINT64)
|
||||||
|
{
|
||||||
|
printf("weight %016llx, ", *entries[0]->effectiveWeight.uint64);
|
||||||
|
}
|
||||||
|
|
||||||
switch (entries[0]->action.type)
|
switch (entries[0]->action.type)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user