Fixing bug with xslt processing and adding basic routines to run autoconfiguration
Change-Id: I5764360e82ce329d6951db7298fd2a04df3f2b96
diff --git a/osx/Resources/status-to-fib.xslt b/osx/Resources/status-to-fib.xslt
index e4ad841..58f2fc7 100644
--- a/osx/Resources/status-to-fib.xslt
+++ b/osx/Resources/status-to-fib.xslt
@@ -3,14 +3,14 @@
<xsl:template match="/ndnd">
<fibs>
-<xsl:apply-templates select="forwarding/fentry" />
+<xsl:apply-templates select="forwarding/fentry/dest" />
</fibs>
</xsl:template>
-<xsl:template match="fentry">
+<xsl:template match="dest">
<fib>
-<xsl:apply-templates select="dest/faceid" />
-<prefix><xsl:value-of select="prefix"/></prefix>
+<xsl:apply-templates select="faceid" />
+<prefix><xsl:value-of select="../prefix"/></prefix>
</fib>
</xsl:template>