summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2013-02-01 00:56:04 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2013-02-01 00:56:04 +0100
commit4a8465a1f308890c7f54eab8c0a7c270fc0246ed (patch)
treeefb6a96b23afb90534f94b16658aef47485408c4 /docs
parent30f0608f61775f4de0a0afc645ccf74c479180c3 (diff)
downloadnetctl-4a8465a1f308890c7f54eab8c0a7c270fc0246ed.tar.gz
netctl-4a8465a1f308890c7f54eab8c0a7c270fc0246ed.tar.xz
Remove the default IPv4 netmask
A default netmask makes no sense (except possibly /32). Spotted by: Thomas Bächler <thomas@archlinux.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/ethernet-static3
-rw-r--r--docs/netctl.profile.5.txt7
2 files changed, 4 insertions, 6 deletions
diff --git a/docs/examples/ethernet-static b/docs/examples/ethernet-static
index b346688..73e4e73 100644
--- a/docs/examples/ethernet-static
+++ b/docs/examples/ethernet-static
@@ -2,8 +2,7 @@ Description='A basic static ethernet connection'
Interface=eth0
Connection=ethernet
IP=static
-# The netmask in the IPv4 address is optional and defaults to 24
-Address='192.168.1.23/28'
+Address='192.168.1.23/24'
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='192.168.1.1'
DNS=('192.168.1.1')
diff --git a/docs/netctl.profile.5.txt b/docs/netctl.profile.5.txt
index 01b6256..3c0ff30 100644
--- a/docs/netctl.profile.5.txt
+++ b/docs/netctl.profile.5.txt
@@ -103,10 +103,9 @@ network. In particular, these connection types are +ethernet+,
packages, which is blocked by `no'.
'Address=()' [requires 'IP=static']::
- An array of IP addresses, optionally suffixed with ``/<netmask>`',
- where netmask is an integer between 0 and 255. The default netmask
- is 24. Leaving out brackets for arrays consisting of a single
- element is accepted in the Bash syntax.
+ An array of IP addresses suffixed with ``/<netmask>`'.
+ Leaving out brackets for arrays consisting of a single element is
+ accepted in the Bash syntax.
'Gateway=' [requires 'IP=static']::
An IP routing gateway address.