mirror of https://github.com/deavmi/libtun.git
Use ushort numbering for enum
This commit is contained in:
parent
d628449a4d
commit
a7be414b01
|
@ -76,8 +76,8 @@ public final class TUNException : Exception
|
|||
}
|
||||
}
|
||||
|
||||
public enum AdapterType
|
||||
public enum AdapterType : ushort
|
||||
{
|
||||
TUN,
|
||||
TAP
|
||||
TUN = 1,
|
||||
TAP = 0
|
||||
}
|
Loading…
Reference in New Issue