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

Bug#782699: debian-boot: IPv6 prefix notation in the installer



On Tue, Nov 08, 2022 at 06:31:54PM +0100, Marc Haber wrote:
> On Thu, Apr 16, 2015 at 02:44:57PM +0200, Jens Link wrote:
> > When using IPv6 addresses in the installer the prefix (netmask) has do be entered in 
> > hex (e.g. ffff:ffff:ffff:ffff::). I think this is highly unusual and I have never seen
> > this notation before. 
> 
> I agree with that. How high are the chances that this prominent
> installer issue will be looked at or even addressed seven years after it
> was originally filed?

After digging a bit in codesearch, I think that this actually belongs to
the netcfg package. The error message encountered by Jens is still in
debian/netcfg-static.templates, in netcfg/bad_ipaddress, which is
invoked in various places inside static.c.

The line
    debconf_set(client, "netcfg/get_netmask", "ffff:ffff:ffff:ffff::");
in netcfg_get_netmask strongly suggests that the original author
seriously thinks that this is a correct way to notate an IPv6 prefix
length.

Greetings
Marc


Reply to: