NMT: Fix hint and list of traffic area configuration

This commit is contained in:
Andreas Eversberg
2016-03-26 18:42:38 +01:00
parent 4d84da31a8
commit 17a93b501b
2 changed files with 9 additions and 5 deletions

View File

@@ -258,7 +258,7 @@ void nmt_country_list(void)
printf("TA\tShort\tCountry (Provider)\n");
printf("------------------------------------------------------------------------\n");
for (i = 0; nmt_country[i].short_name; i++) {
if (nmt_country[i].short_name[0])
if (nmt_country[i].long_name[0])
printf("%d\t%s\t%s (%s)\n", nmt_country[i].y, nmt_country[i].short_name, nmt_country[i].long_name, nmt_country[i].provider_name);
else
printf("%d\t%s\n", nmt_country[i].y, nmt_country[i].short_name);