set_next_hop


Description:

public void set_next_hop (string? next_hop)

Sets the next-hop property of this route object.

next_hop (if non-null) must be a valid address of this's family. If you aren't sure you have a valid address, use ipaddr_valid to check it.

Parameters:

this

the IPRoute

next_hop

the route's next hop, as a string