Title | Return zero if the ifname is not a name of an interface |
CommandLine | ./tst_if_name_to_index_bad --log=2.html --title=Return zero if the ifname is not a name of an interface |
TestVersion | REL_1_1_18 |
Start | 2023/01/17 08:40:10 |
SystemName | (null) |
KernelVersion | (null) |
08:40:10 | Start |
== ifname "abc0" is not a name of an interface == | |
08:40:10 | if_nametoindex(ifname:"abc0") |
08:40:10 | return 0 |
== ifname "ifname" is not a name of an interface == | |
08:40:10 | if_nametoindex(ifname:"ifname") |
08:40:10 | return 0 |
== ifname "" is not a name of an interface == | |
08:40:10 | if_nametoindex(ifname:"") |
08:40:10 | return 0 |
OK | |
08:40:11 | End |