tools: add mtu option to 'nfdc face create'
refs #4789
Change-Id: I9e31c5fb460ee99199332ffb6fadc9f0f33125e9
diff --git a/tools/nfd-status-http-server-files/nfd-status.xsl b/tools/nfd-status-http-server-files/nfd-status.xsl
index 725e53e..d9a996c 100644
--- a/tools/nfd-status-http-server-files/nfd-status.xsl
+++ b/tools/nfd-status-http-server-files/nfd-status.xsl
@@ -165,6 +165,7 @@
<th>Scope</th>
<th>Persistency</th>
<th>LinkType</th>
+ <th>MTU</th>
<th>Flags</th>
<th>Expires in</th>
<th>In Interests</th>
@@ -187,6 +188,16 @@
<td><xsl:value-of select="nfd:facePersistency"/></td>
<td><xsl:value-of select="nfd:linkType"/></td>
<td>
+ <xsl:choose>
+ <xsl:when test="nfd:mtu">
+ <xsl:value-of select="nfd:mtu"/>
+ </xsl:when>
+ <xsl:otherwise>
+ n/a
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
<xsl:if test="nfd:flags/nfd:localFieldsEnabled">local-fields </xsl:if>
<xsl:if test="nfd:flags/nfd:lpReliabilityEnabled">reliability </xsl:if>
<xsl:if test="nfd:flags/nfd:congestionMarkingEnabled">congestion-marking </xsl:if>