FreeBSD Bugzilla – Attachment 157554 Details for
Bug 200722
[patch] net/mpd5: do not print warning, when we a renaming interface to existing name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mpd5 diff
mpd5.diff (text/plain), 1.30 KB, created by
Renato Botelho
on 2015-06-09 00:05:35 UTC
(
hide
)
Description:
mpd5 diff
Filename:
MIME Type:
Creator:
Renato Botelho
Created:
2015-06-09 00:05:35 UTC
Size:
1.30 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 388854) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= mpd > DISTVERSION= 5.7 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= net > MASTER_SITES= SF/${PORTNAME}/Mpd5/Mpd-${PORTVERSION} > PKGNAMESUFFIX= 5 >Index: files/patch-src_file.c >=================================================================== >--- files/patch-src_file.c (revision 0) >+++ files/patch-src_file.c (working copy) >@@ -0,0 +1,17 @@ >+--- src/iface.c 2015/05/13 12:31:43 1.223 >++++ src/iface.c 2015/06/02 08:57:13 1.224 >+@@ -3654,9 +3654,11 @@ >+ b->name, iface->ifname, ifname)); >+ >+ if (ioctl(s, SIOCSIFNAME, (caddr_t)&ifr) < 0) { >+- Perror("[%s] IFACE: ioctl(%s, SIOCSIFNAME)", b->name, iface->ifname); >+- close(s); >+- return(-1); >++ if (errno != EEXIST) { >++ Perror("[%s] IFACE: ioctl(%s, SIOCSIFNAME)", b->name, iface->ifname); >++ close(s); >++ return(-1); >++ } >+ } >+ >+ close(s); > >Property changes on: files/patch-src_file.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 200722
: 157554