Hi,

On Sat, Sep 13, 2025 at 06:14:03PM +0200, Sebastian Marsching wrote:
> > Should Linux not be able to auto-calculate that, based on IP address
> > and netmask?
> You would think so, but it does not???

It seems so.  Thanks for the output examples.  Weird.

[..]
> It implements the way how the broadcast address is calculated slightly 
> differently. For my patch, I took the inspiration from how iproute2 
> implements it instead.

It's a bit unfortunate that *this* piece of code does not have the netmask
around anymore (having converted it carefully to a /netbits value...)

I'll leave this to Antonio to ACK, as it's all his code.

gert

-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to