ifquery: when querying state, denote presence of the explicit flag
This commit is contained in:
parent
0464118429
commit
ebae949462
1 changed files with 2 additions and 1 deletions
|
@ -182,7 +182,8 @@ list_state(struct lif_dict *state, struct match_options *opts)
|
|||
if (listing_running)
|
||||
printf("%s\n", entry->key);
|
||||
else
|
||||
printf("%s=%s %zu\n", entry->key, rec->mapped_if, rec->refcount);
|
||||
printf("%s=%s %zu%s\n", entry->key, rec->mapped_if, rec->refcount,
|
||||
rec->is_explicit ? " explicit" : "");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue