View Issue Details

IDProjectCategoryView StatusLast Update
0018231CentOS-7dhcppublic2021-08-26 18:49
Reporterjavier.angulo Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version7.9.2009 
Summary0018231: Invalid IPv6 address if octet contains word 'add'
Descriptiondhcpd fails with "Invalid IPv6 address" if octet is word 'add'. Prefixing with 0 as '0add' makes dhcpd happy again.

$ diff foo.conf foo2.conf
1c1
< host host_00.50.56.2b.f7.55 { hardware ethernet 00:50:56:2b:f7:55; fixed-address6 2607:f1c0:1800:8087:0add:bad:bed:dad; }
---
> host host_00.50.56.2b.f7.55 { hardware ethernet 00:50:56:2b:f7:55; fixed-address6 2607:f1c0:1800:8087:add:bad:bed:dad; }

a) foo.conf works:
$ /usr/sbin/dhcpd -6 -t -q -cf foo.conf
$ echo $?
0

b) foo2.conf containing word 'add' fails
$ /usr/sbin/dhcpd -6 -t -q -cf foo2.conf
$ echo $?
1

Making it not silent throws the following error:
foo2.conf line 1: Invalid IPv6 address.


Steps To ReproduceCreate an ipv6 lease reservation with fixed-address6 containing word "add"
Additional InformationCentOS Linux release 7.9.2009 (Core)

Internet Systems Consortium DHCP Server 4.2.5
TagsNo tags attached.
abrt_hash
URL

Activities

ManuelWolfshant

ManuelWolfshant

2021-08-26 16:09

manager   ~0038595

Can you please file a bug in bugzilla.redhat.com ? It's the only way to have this fixed.
javier.angulo

javier.angulo

2021-08-26 18:49

reporter   ~0038596

https://bugzilla.redhat.com/show_bug.cgi?id=1998294

Issue History

Date Modified Username Field Change
2021-06-23 05:59 javier.angulo New Issue
2021-08-26 16:09 ManuelWolfshant Note Added: 0038595
2021-08-26 18:49 javier.angulo Note Added: 0038596