tools: display RIB flags by name in nfd-status page
refs #1870
Change-Id: I327ef9a672dc845f814930c818982fa2700f6402
diff --git a/tools/nfd-status-http-server-files/nfd-status.xsl b/tools/nfd-status-http-server-files/nfd-status.xsl
index 07b0faa..fe3077e 100644
--- a/tools/nfd-status-http-server-files/nfd-status.xsl
+++ b/tools/nfd-status-http-server-files/nfd-status.xsl
@@ -294,9 +294,23 @@
</xsl:for-each>
</tr>
<tr>
- <th>Flags</th>
+ <th>ChildInherit</th>
<xsl:for-each select="nfd:routes/nfd:route">
- <td><xsl:value-of select="nfd:flags"/></td>
+ <td>
+ <xsl:if test="nfd:flags/nfd:childInherit">
+ Y
+ </xsl:if>
+ </td>
+ </xsl:for-each>
+ </tr>
+ <tr>
+ <th>RibCapture</th>
+ <xsl:for-each select="nfd:routes/nfd:route">
+ <td>
+ <xsl:if test="nfd:flags/nfd:ribCapture">
+ Y
+ </xsl:if>
+ </td>
</xsl:for-each>
</tr>
<tr>