summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Richards <GitHub@happycorner.us>2020-04-22 02:26:33 -0500
committerGitHub <noreply@github.com>2020-04-22 09:26:33 +0200
commit5650a7faf661feb8ca1149685c9c3385eb087474 (patch)
tree9b6c20349887366661ca63953265b0b9a70d80e2
parent1ccf7e0e3a7a91edbbe3f9f0669c8bbab8248cd1 (diff)
Fix typo in docs "networks:" -> "network:" (#131)
Fix typo in documentation where "networks:" should be "network:".
-rw-r--r--doc/netplan.md2
-rw-r--r--src/parse.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/netplan.md b/doc/netplan.md
index c4b0ba3..d48deee 100644
--- a/doc/netplan.md
+++ b/doc/netplan.md
@@ -144,7 +144,7 @@ Virtual devices
: Use the given networking backend for this definition. Currently supported are
``networkd`` and ``NetworkManager``. This property can be specified globally
- in ``networks:``, for a device type (in e. g. ``ethernets:``) or
+ in ``network:``, for a device type (in e. g. ``ethernets:``) or
for a particular device definition. Default is ``networkd``.
The ``renderer`` property has one additional acceptable value for vlan objects
diff --git a/src/parse.c b/src/parse.c
index c1dc175..cf6e069 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -1829,7 +1829,7 @@ initialize_dhcp_overrides(NetplanDHCPOverrides* overrides)
}
/**
- * Callback for a net device type entry like "ethernets:" in "networks:"
+ * Callback for a net device type entry like "ethernets:" in "network:"
* @data: netdef_type (as pointer)
*/
static gboolean