Synopsis: man dhcp-options classless-static-routes cidr of default route
syntax problem
Category: documentation
Environment:
System : OpenBSD 6.7
Details : OpenBSD 6.7-beta (GENERIC.MP) #125: Sun Apr 12 14:56:53
MDT 2020
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64
Machine : amd64
Description:
man dhcp-options for option classless-static-routes says cidr of a
default route is 0/0 but this causes dhcpd to fail. Use 0.0.0.0/0
instead.
How-To-Repeat:
using this option along with another static route causes dhcpd to fail
Fix:
Index: usr.sbin/dhcpd/dhcp-options.5
===================================================================
RCS file: /cvs/src/usr.sbin/dhcpd/dhcp-options.5,v
retrieving revision 1.31
diff -u -p -u -r1.31 dhcp-options.5
--- usr.sbin/dhcpd/dhcp-options.5 8 May 2019 22:00:55 -0000 1.31
+++ usr.sbin/dhcpd/dhcp-options.5 14 Apr 2020 13:39:42 -0000
@@ -180,7 +180,7 @@ Thus default routes, if any,
must be included in the list.
The
.Ar cidr
-of a default route is 0/0.
+of a default route is 0.0.0.0/0.
.It Ic option classless-ms-static-routes Ar cidr ip-address Oo , Ar cidr
ip-address ... Oc ;
This option does the same as
.Ic classless-static-routes ,