[radvd-devel-l] if block is never true

Reuben Hawkins reubenhwk at gmail.com
Sat Jun 5 23:31:37 EDT 2010

The attached diff removes an if block which is never true due to the
datatypes being compared...

iface->AdvCurHopLimit is uint_8, MAX_AdvCurHopLimit is 255 so
iface->AdvCurHopLimit is never > 255.

The code can be removed unless we're expecting somebody to change the
datatype or the max hop limit (which I'm assuming is not the case)...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litech.org/pipermail/radvd-devel-l/attachments/20100605/dc2a9ed1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: interface.diff
Type: application/octet-stream
Size: 407 bytes
Desc: not available
URL: <http://lists.litech.org/pipermail/radvd-devel-l/attachments/20100605/dc2a9ed1/attachment.obj>

More information about the radvd-devel-l mailing list