FreeBSD Bugzilla – Attachment 120823 Details for
Bug 163701
ifconfig: group parameter makes impossible to restart interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 551 bytes, created by
d.y.kazarov
on 2011-12-29 21:20:08 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
d.y.kazarov
Created:
2011-12-29 21:20:08 UTC
Size:
551 bytes
patch
obsolete
>--- src/sbin/ifconfig/ifgroup.c.orig 2011-12-30 01:07:54.000000000 +0400 >+++ src/sbin/ifconfig/ifgroup.c 2011-12-30 01:09:09.000000000 +0400 >@@ -58,7 +58,10 @@ > if (strlcpy(ifgr.ifgr_group, group_name, IFNAMSIZ) >= IFNAMSIZ) > errx(1, "setifgroup: group name too long"); > if (ioctl(s, SIOCAIFGROUP, (caddr_t)&ifgr) == -1) >- err(1," SIOCAIFGROUP"); >+ if (errno == EEXIST) >+ return; >+ else >+ err(1," SIOCAIFGROUP"); > } > > /* ARGSUSED */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 163701
: 120823