blob: 78a53b692c8d24918ddc7eaf627de0cd75aef09c [file] [log] [blame]
developer2bf53a92022-06-06 12:08:58 +08001diff --git a/src/lib/inet/src/inet_base.c b/src/lib/inet/src/inet_base.c
2index a93cefc..db66cf2 100644
3--- a/src/lib/inet/src/inet_base.c
4+++ b/src/lib/inet/src/inet_base.c
5@@ -1080,7 +1080,7 @@ bool inet_base_dhcpc_option_set(inet_t *super, enum osn_dhcp_option opt, const c
6 {
7 inet_base_t *self = (void *)super;
8 bool _req;
9- const char *_value;
10+ const char *_value=NULL;
11
12 if (!osn_dhcp_client_opt_get(self->in_dhcpc, opt, &_req, &_value))
13 {