summaryrefslogtreecommitdiffstats
path: root/dhcpcd.8.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-02-27 21:18:01 +0000
committerRoy Marples <roy@marples.name>2009-02-27 21:18:01 +0000
commite095a6ebb581216ef8369d1e468a6682332498a7 (patch)
tree0b4618baf77fe69ab9c3daa8cfe575b506de610c /dhcpcd.8.in
parente0dd8b7e4a3011200972a9103d84081aca91843f (diff)
downloaddhcpcd-e095a6ebb581216ef8369d1e468a6682332498a7.tar.xz
Blacklist now accepts networks as well as addresses.
It also matches on the address offered as well as the server address.
Diffstat (limited to 'dhcpcd.8.in')
-rw-r--r--dhcpcd.8.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/dhcpcd.8.in b/dhcpcd.8.in
index 1d184804..c1b8f637 100644
--- a/dhcpcd.8.in
+++ b/dhcpcd.8.in
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd February 17, 2009
+.Dd February 27, 2009
.Dt DHCPCD 8 SMM
.Sh NAME
.Nm dhcpcd
@@ -50,7 +50,7 @@
.Op Fl O , -nooption Ar option
.Op Fl Q , -require Ar option
.Op Fl S , -static Ar value
-.Op Fl X , -blacklist Ar address
+.Op Fl X , -blacklist Ar address Ns Op Ar /cidr
.Op Fl Z , -denyinterfaces Ar pattern
.Op interface
.Op ...
@@ -451,10 +451,13 @@ files.
.It Fl V, -variables
Display a list of option codes and the associated variable for use in
.Xr dhcpcd-run-hooks 8 .
-.It Fl X, -blacklist Ar address
+.It Fl X, -blacklist Ar address Ns Op Ar /cidr
Ignores all DHCP messages which have this
.Ar address
-as the server ID.
+as the server ID or offered address.
+If
+.Ar cidr
+is given then we match against that network as well.
This may be expanded in future releases to ignore all packets
matching either the IP or hardware
.Ar address .