03/11/14 14:27, Gioacchino Mazzurco:
Hi!
It seems to me that the actual generate_host(...) function doesn't permit
to de user to specify completely it's address on /etc/config/lime, what i
see is that if the user specify as example 10.10.10.10/24 as his ip
address the last nibble get overridden by generate_host(...) function, is
this the expected behavior?
nope, that's not the expected behaviour; if the host part is defined
(i.e. different from 0) then generate_host should respect it
can you confirm it's a bug? on the tests i did while developing (and
later resuscitating it) i recall it was working fine...
It is working as you say, the only problem is when the MAC address ends with
00 or FF and it is not so rare to not take care of it ( I have a tl-wdr3600
with mac ending in 00 that get an invalid ipv4 and have seen some machine
with ff ending MAC )