pkgs/gateway-report: fix table headings

This commit is contained in:
Astro 2022-10-23 00:27:18 +02:00
parent 43a9a97627
commit 538905b2d9
1 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ writeText "vlan-report.md" ''
${lib.optionalString (routers4 != []) '' ${lib.optionalString (routers4 != []) ''
### IPv4 `${netConfig.subnet4}` ### IPv4 `${netConfig.subnet4}`
| Address | Name | Upstream | Fallback | | Address | Name | Primary Uplink | Fallback Uplink |
|-|-|-|-| |-|-|-|-|
${lib.concatMapStrings (hostName: ${lib.concatMapStrings (hostName:
let let
@ -75,13 +75,13 @@ writeText "vlan-report.md" ''
''} ''}
${lib.optionalString (routers6 != {}) '' ${lib.optionalString (routers6 != {}) ''
### IPv6: ${lib.concatStringsSep " " ( ### IPv6 ${lib.concatStringsSep " " (
map (s: "`${s}`") ( map (s: "`${s}`") (
builtins.attrValues netConfig.subnets6 builtins.attrValues netConfig.subnets6
) )
)} )}
| Address | Name | Upstream | Description | | Address | Name | Primary Uplink | Fallback Uplink |
|-|-|-|-| |-|-|-|-|
${lib.concatMapStrings (hostName: ${lib.concatMapStrings (hostName:
let let