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/02/03 01:00:09 |
SystemName | (null) |
KernelVersion | (null) |
01:00:09 | Start |
== ifname "abc0" is not a name of an interface == | |
01:00:09 | if_nametoindex(ifname:"abc0") |
01:00:09 | return 0 |
== ifname "ifname" is not a name of an interface == | |
01:00:09 | if_nametoindex(ifname:"ifname") |
01:00:09 | return 0 |
== ifname "" is not a name of an interface == | |
01:00:09 | if_nametoindex(ifname:"") |
01:00:09 | return 0 |
OK | |
01:00:09 | End |