Commit 71962881 authored by Thomas Haller's avatar Thomas Haller

examples: add missing device-types to examples

Based-on-patch-by: default avatarJiří Klimeš <jklimes@redhat.com>
parent 734f45e0
......@@ -36,6 +36,10 @@ devtypes = { 1: "Ethernet",
13: "Bridge",
14: "Generic",
15: "Team"
16: "TUN"
17: "IPTunnel"
18: "MACVLAN"
19: "VXLAN"
}
states = { 0: "Unknown",
......
......@@ -38,7 +38,11 @@ devtypes = { 1 => "Ethernet",
12 => "ADSL",
13 => "Bridge",
14 => "Generic",
15 => "Team"
15 => "Team",
16 => "TUN",
17 => "IPTunnel",
18 => "MACVLAN",
19 => "VXLAN",
}
states = { 0 => "Unknown",
......
......@@ -48,6 +48,10 @@ devtype_to_name()
13) echo "Bridge" ;;
14) echo "Generic" ;;
15) echo "Team" ;;
16) echo "TUN" ;;
17) echo "IPTunnel" ;;
18) echo "MACVLAN" ;;
19) echo "VXLAN" ;;
*) echo "Unknown" ;;
esac
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment