httpinfo: print position header
authorFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 13 Jul 2012 15:15:24 +0000 (17:15 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 13 Jul 2012 15:18:13 +0000 (17:18 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/httpinfo/src/olsrd_httpinfo.c

index 5f9fa4f..dca45a6 100644 (file)
@@ -1177,6 +1177,8 @@ static void build_pud_body(struct autobuf *abuf) {
        char * nodeId;
        char nodeIdString[1024];
 
+       abuf_puts(abuf, "<h2>Position</h2>");
+
        if (!txGpsInfo) {
                abuf_puts(abuf, "<h2>" PUD_PLUGIN_ABBR " plugin not loaded</h2>\n");
                return;