gprs_ns2: Don't return an empty string in case of unknown LL

Change-Id: Id2c689ab83ada18a5cb6d70ded31aacaa701f99c
This commit is contained in:
Harald Welte 2020-12-01 17:20:07 +01:00
parent 37322bc714
commit 6188e004d2
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ char *gprs_ns2_ll_str_buf(char *buf, size_t buf_len, struct gprs_ns2_vc *nsvc)
gprs_ns2_fr_nsvc_dlci(nsvc));
break;
default:
buf[0] = '\0';
snprintf(buf, buf_len, "unknown)");
break;
}