tools: display face flags in nfdc and nfd-status-http-server
refs #3733
Change-Id: Idd66ffb7594079d2738253d035792300fe3febef
diff --git a/tools/nfd-status-http-server-files/nfd-status.xsl b/tools/nfd-status-http-server-files/nfd-status.xsl
index f8ba4c8..ff92dae 100644
--- a/tools/nfd-status-http-server-files/nfd-status.xsl
+++ b/tools/nfd-status-http-server-files/nfd-status.xsl
@@ -151,6 +151,7 @@
<th>Scope</th>
<th>Persistency</th>
<th>LinkType</th>
+ <th>Flags</th>
<th>Expires in</th>
<th>In Interests</th>
<th>In Data</th>
@@ -181,6 +182,13 @@
<td><xsl:value-of select="nfd:linkType"/></td>
<td>
<xsl:choose>
+ <xsl:when test="nfd:flags/nfd:localFieldsEnabled">
+ local-fields
+ </xsl:when>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
<xsl:when test="nfd:expirationPeriod">
<xsl:call-template name="formatDuration"><xsl:with-param name="duration" select="nfd:expirationPeriod" /></xsl:call-template>
</xsl:when>