get_mode


Description:

public unowned string get_mode ()

Returns the TUN/TAP mode for the device.

Parameters:

this

a DeviceTun

Returns:

'tun' or 'tap'