From b11663eac4ec9fc18af33d2a642b47c0be59642b Mon Sep 17 00:00:00 2001 From: claudio Date: Fri, 9 Feb 2024 12:56:53 +0000 Subject: [PATCH] Convert the bgplg html pages to HTML5. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit From Clemens Gößnitzer (clemens (at) goessnitzer.info) Looks good to bentley@ --- usr.bin/bgplg/bgplg.c | 16 +++++++--------- usr.bin/bgplg/bgplg.foot | 2 +- usr.bin/bgplg/bgplg.head | 2 +- usr.bin/bgplg/index.html | 7 +++---- 4 files changed, 12 insertions(+), 15 deletions(-) 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...

-- 2.20.1