On Mon, Jun 29, 2020 at 11:55:10PM +0900, YASUOKA Masahiko wrote:
> The function mask_addr() doesn't mask address for IPv4 and IPv6.  Does
> any address family other than IPv4 or IPv6 require #1142:1148?  The
> function seems to just trim the trailing zero.  Is it neccesaary?  And
> it causes the confusion on the kernel.  How about deleting
> mask_addr()?
> The diff following also fixes the problem.
Removing it breaks IPv4 default routes:

        # ifconfig lo1 rdomain 1
        # ./obj/route -nT1 add
        add net gateway Invalid argument
        # route -nT1 add      
        add net gateway

Reply via email to