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