[bug #18318] bad subnet mask for allowed IPs ?

Christophe Dumez <[email protected]>
Newsgroups gmane.network.mldonkey.bugs
Message-ID <[email protected]>
URL:
  <http://savannah.nongnu.org/bugs/?18318>

                 Summary: bad subnet mask for allowed IPs ?
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: cdumez
            Submitted on: Friday 11/17/2006 at 10:30
                Category: HTTP interface
                Severity: 3 - Normal
              Item Group: Program malfunction
                  Status: None
             Assigned to: None
             Open/Closed: Open
                 Release: CVS
                 Release: 2.8.1
        Operating System: Linux
         Binaries Origin: CVS / Self compiled
                CPU type: Intel x86

    _______________________________________________________

Details:

Hi,

When I add some IPs to allowed IPs using web interface, some of them are
converted, here is the log:
2006/11/17 11:18:21 [cO] allowed_ips: converted 172.20.227.255 to
172.20.227.0/24

This convertion is not OK because my subnet mask is 255.255.0.0, not
255.255.255.0. I didn't find anywhere in options to set the subnet mask so I
supposed it is detected automatically.

root@hydrogen /media/big/mldonkey-distrib-2.8.1 # ifconfig eth0
eth0      Lien encap:Ethernet  HWaddr xx:00:E8:16:xx:xx
          inet adr:172.20.0.2  Bcast:172.20.255.255  Masque:255.255.0.0
          adr inet6: fe80::200:e8ff:fe16:af13/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:857605948 errors:3685 dropped:37665 overruns:3685
frame:3627
          TX packets:918875875 errors:608 dropped:0 overruns:0 carrier:608
          collisions:0 lg file transmission:1000
          RX bytes:2249539281 (2.0 GiB)  TX bytes:792834837 (756.1 MiB)
          Interruption:177 Adresse de base:0xe000




    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
Available only the item webpage     | 




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?18318>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.