git: 444b9aa78c60 - main - ifconfig: fix family selection after 982cd5ae8ef6

From: Alexander V. Chernikov <melifaro_at_FreeBSD.org>
Date: Wed, 10 May 2023 12:41:10 UTC
The branch main has been updated by melifaro:

URL: https://cgit.FreeBSD.org/src/commit/?id=444b9aa78c6083d249b70669480d385bd58fd7fd

commit 444b9aa78c6083d249b70669480d385bd58fd7fd
Author:     Alexander V. Chernikov <melifaro@FreeBSD.org>
AuthorDate: 2023-05-10 12:40:51 +0000
Commit:     Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2023-05-10 12:40:51 +0000

    ifconfig: fix family selection after 982cd5ae8ef6
---
 sbin/ifconfig/ifconfig.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index 5456587c13ef..957a8fd7fb98 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -610,6 +610,7 @@ main(int argc, char *argv[])
 		goto done;
 	}
 
+	args.afp = afp;
 	args.argc = argc;
 	args.argv = argv;