Use ushort numbering for enum

This commit is contained in:
Tristan B. Velloza Kildaire 2021-07-18 23:24:06 +02:00
parent d628449a4d
commit a7be414b01
1 changed files with 3 additions and 3 deletions

View File

@ -76,8 +76,8 @@ public final class TUNException : Exception
}
}
public enum AdapterType
public enum AdapterType : ushort
{
TUN,
TAP
TUN = 1,
TAP = 0
}