Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171071180
D53876.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
526 B
Referenced Files
None
Subscribers
None
D53876.diff
View Options
diff --git a/sbin/ifconfig/ifclone.c b/sbin/ifconfig/ifclone.c
--- a/sbin/ifconfig/ifclone.c
+++ b/sbin/ifconfig/ifclone.c
@@ -117,6 +117,15 @@
{
struct ifreq ifr = {};
struct clone_defcb *dcp;
+ u_int u;
+
+ /* Warning to be removed in FreeBSD 17.0 */
+ if (sscanf(ctx->ifname, "ipfw%u", &u) == 1 ||
+ sscanf(ctx->ifname, "ipfwlog%u", &u) == 1) {
+ warnx("ipfw(4) logging does not need interface creation "
+ "in FreeBSD 16.0");
+ return;
+ }
strlcpy(ifr.ifr_name, ctx->ifname, sizeof(ifr.ifr_name));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 9, 1:01 PM (7 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38588347
Default Alt Text
D53876.diff (526 B)
Attached To
Mode
D53876: ifconfig: print warning and return success on ipfw0, ipfwlog0 cloning
Attached
Detach File
Event Timeline
Log In to Comment