[system-tools] Possible bug in network backend (-d list_ifaces)



Hi,

I was playing arround with the network backend with the list_ifaces directive 
in an unsupported platform and I have found the following behavior:

If I run ./network-conf -d list_ifaces , I get the following output:

network - platform_unsup::Your platform [mandrake-11] is not supported.
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<!DOCTYPE network-ifaces []>

<network-ifaces>

  <interface>
    <active>1</active>
    <addr>127.0.0.1</addr>
    <dev>lo</dev>
    <mask>255.0.0.0</mask>
  </interface>

  <interface>
    <active>1</active>
    <addr>192.168.1.2</addr>
    <bcast>192.168.1.255</bcast>
    <dev>eth0</dev>
    <hwaddr>00:09:6B:53:FE:90</hwaddr>
    <mask>255.255.255.0</mask>
  </interface>

</network-ifaces>

<!-- GST: end of request -->

But if I add the --platform parameter, I get this:
./network-conf -d list_ifaces --platform mandrake-9.2

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<!DOCTYPE network-ifaces []>

<network-ifaces>

</network-ifaces>

<!-- GST: end of request -->

Shouldn't this command show the same output than the first one? and why, if 
the platform is unsupported is showing a correct output? is this a bug? it 
seems to me, IMO.


Cheers,
-- 
Juan Luis Baptiste
http://www.merlinux.org
http://knetworkconf.sf.net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]