marek-sezemsky / coreemu

Automatically exported from code.google.com/p/coreemu
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Interface list dialog for RJ45 interface cuts off long interface names. #250

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make an interface with longer than 9 characters
2. Try to use the RJ45 tool with it.
3. Click on it.

What is the expected output? What do you see instead?
It should select the full name of the interface. Instead it chops it off at 9 
characters and assigns that to the GUI node.

What version of the product are you using? On what operating system?
Ubuntu 14.04, CORE 4.6

Please provide any additional information below.
Attached a patch which uses split based on a space character instead of a 
hardcoded value of 9. This is similar to what it does for FreeBSD ifconfig 
anyway (which splits based on ":").

Original issue reported on code.google.com by matt.jo...@gmail.com on 17 Jul 2014 at 9:22

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by matt.jo...@gmail.com on 17 Jul 2014 at 9:59

Attachments:

GoogleCodeExporter commented 9 years ago
thanks for identifying and providing a fix

Original comment by ahrenh...@gmail.com on 29 Jul 2014 at 1:54

GoogleCodeExporter commented 9 years ago
fixed in r540

Original comment by ahrenh...@gmail.com on 29 Jul 2014 at 1:54