ifquery: when querying state, denote presence of the explicit flag
This commit is contained in:
parent
b09d622cfc
commit
61097b1db2
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)
|
if (listing_running)
|
||||||
printf("%s\n", entry->key);
|
printf("%s\n", entry->key);
|
||||||
else
|
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