On 6/24/19 10:34 PM, Hoang Le wrote:
> Support for indicating interface name has an ip address in parallel
> with specifying ip address when activating UDP bearer.
> This liberates the user from keeping track of the current ip address
> for each device.
> 
> Old command syntax:
> $tipc bearer enable media udp name NAME localip IP
> 
> New command syntax:
> $tipc bearer enable media udp name NAME [localip IP|dev DEVICE]
> 
> v2:
>     - Removed initial value for fd
>     - Fixed the returning value for cmd_bearer_validate_and_get_addr
>       to make its consistent with using: zero or non-zero
> v3: - Switch to use helper 'get_ifname' to retrieve interface name
> v4: - Replace legacy SIOCGIFADDR by netlink
> v5: - Fix leaky rtnl_handle
> 
> Acked-by: Ying Xue <ying....@windriver.com>
> Signed-off-by: Hoang Le <hoang.h...@dektech.com.au>
> ---
>  tipc/bearer.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++---
>  1 file changed, 89 insertions(+), 5 deletions(-)
> 

applied to iproute2-next. Thanks


Reply via email to