From: claudio Date: Fri, 9 Feb 2024 12:56:53 +0000 (+0000) Subject: Convert the bgplg html pages to HTML5. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b11663eac4ec9fc18af33d2a642b47c0be59642b;p=openbsd Convert the bgplg html pages to HTML5. From Clemens Gößnitzer (clemens (at) goessnitzer.info) Looks good to bentley@ --- diff --git a/usr.bin/bgplg/bgplg.c b/usr.bin/bgplg/bgplg.c index fc825bc5bf5..09306ff66c1 100644 --- a/usr.bin/bgplg/bgplg.c +++ b/usr.bin/bgplg/bgplg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgplg.c,v 1.19 2018/03/05 10:53:37 denis Exp $ */ +/* $OpenBSD: bgplg.c,v 1.20 2024/02/09 12:56:53 claudio Exp $ */ /* * Copyright (c) 2005, 2006 Reyk Floeter @@ -260,17 +260,15 @@ main(void) printf("Content-Type: %s\n" "Cache-Control: no-cache\n\n" - "\n" - "\n" - "\n" + "\n" + "\n" "\n" "%s\n", CONTENT_TYPE, myname); if (stat(INC_STYLE, &st) == 0) { - printf("\n"); + printf("\n"); } if (stat(INC_HEAD, &st) != 0 || lg_incl(INC_HEAD) != 0) { printf("\n" @@ -308,8 +306,8 @@ main(void) } printf("\n" - "\n" - "\n" + "\n" + "\n" "\n" "\n" "
\n", req ? req : "");
diff --git a/usr.bin/bgplg/bgplg.foot b/usr.bin/bgplg/bgplg.foot
index d5ce3a7ed63..f6a5ddb5d8f 100644
--- a/usr.bin/bgplg/bgplg.foot
+++ b/usr.bin/bgplg/bgplg.foot
@@ -1,2 +1,2 @@
 
-
+
diff --git a/usr.bin/bgplg/bgplg.head b/usr.bin/bgplg/bgplg.head index b31a9ed534f..05867cab1a8 100644 --- a/usr.bin/bgplg/bgplg.head +++ b/usr.bin/bgplg/bgplg.head @@ -2,5 +2,5 @@
-OpenBGPD +OpenBGPD diff --git a/usr.bin/bgplg/index.html b/usr.bin/bgplg/index.html index 32bebcbc897..8aa690554ce 100644 --- a/usr.bin/bgplg/index.html +++ b/usr.bin/bgplg/index.html @@ -1,9 +1,8 @@ - - - + + bgplg... - +

bgplg...