https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278654
--- Comment #5 from Alexandre Snarskii <[email protected]> --- Created attachment 262723 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262723&action=edit patch Looks like it was not that hard to fix. Proposed patch attached, based on 15-current, cleanly applies and shall work on 14 (not tested). Notes: - when address provided with -ifa is not present in system, behavior is the same as without netlink: this parameter is ignored. - no attempts have been made to fix multipath routes: as far as I understand route(8) sources it can't emit these anyway. - used not NL_RTA_SRC but rather NL_RTA_PREFSRC netlink attribute. -- You are receiving this mail because: You are the assignee for the bug.
