ALT Linux Bugzilla
– Attachment 1265 Details for
Bug 8479
ошибка переименования
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
wireless-utils patch
ifrename-28pre10-alt-eth0nowarn.patch (text/plain), 970 bytes, created by
Denis Ovsienko
on 2005-11-27 16:49:52 MSK
(
hide
)
Description:
wireless-utils patch
Filename:
MIME Type:
Creator:
Denis Ovsienko
Created:
2005-11-27 16:49:52 MSK
Size:
970 bytes
patch
obsolete
>diff -urN wireless_tools.28.orig/ifrename.c wireless_tools.28/ifrename.c >--- wireless_tools.28.orig/ifrename.c 2005-05-27 03:15:55 +0400 >+++ wireless_tools.28/ifrename.c 2005-11-27 16:26:06 +0300 >@@ -1726,14 +1726,7 @@ > memcpy(ifnode->ifname, pos, len); > ifnode->ifname[len] = '\0'; > >- /* Check the interface name and issue various pedantic warnings. >- * We assume people using takeover want to force interfaces to those >- * names and know what they are doing, so don't bother them... */ >- if((!force_takeover) && >- ((!strcmp(ifnode->ifname, "eth0")) || (!strcmp(ifnode->ifname, "wlan0")))) >- fprintf(stderr, >- "Warning: Interface name is `%s' at line %d, can't be mapped reliably.\n", >- ifnode->ifname, linenum); >+ /* Check the interface name and issue various pedantic warnings. */ > if(strchr(ifnode->ifname, ':')) > fprintf(stderr, "Warning: Alias device `%s' at line %d probably can't be mapped.\n", > ifnode->ifname, linenum);
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 8479
: 1265