summaryrefslogtreecommitdiff
path: root/sbin/ifconfig/ifconfig.c
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2023-06-09 12:22:02 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2023-06-09 12:22:02 +0000
commit7bab9e46631357ce85eed928f091ed3123e7e6d5 (patch)
tree7dd0862e668367024bf3f537802418e682751034 /sbin/ifconfig/ifconfig.c
parent13e818adaeee96a8562a4135ced58241d29a9437 (diff)
Readd "-wgpsk", accidentially dropped in r1.465 adding "wgdescr"
Noticed by Bradley Latus Diff from Jane Johansson OK tb
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
-rw-r--r--sbin/ifconfig/ifconfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index f45fb7ebc29..ecc5edd8830 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.466 2023/06/07 18:42:40 bluhm Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.467 2023/06/09 12:22:01 kn Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -631,6 +631,7 @@ const struct cmd {
{ "wgkey", NEXTARG, A_WIREGUARD, setwgkey},
{ "wgrtable", NEXTARG, A_WIREGUARD, setwgrtable},
{ "-wgpeer", NEXTARG, A_WIREGUARD, unsetwgpeer},
+ { "-wgpsk", 0, A_WIREGUARD, unsetwgpeerpsk},
{ "-wgdescription", 0, A_WIREGUARD, unsetwgpeerdesc},
{ "-wgdescr", 0, A_WIREGUARD, unsetwgpeerdesc},
{ "-wgpeerall", 0, A_WIREGUARD, unsetwgpeerall},