#define STATIC_IP_NETMASK "255.255.255.255"
static const char *none_prefix[] = { NULL };
+static const char *ipdpact_prefix[] = { "%IPDPACT", NULL };
static const char *ipdpaddr_prefix[] = { "%IPDPADDR", NULL };
enum state {
gcd->state = STATE_DISABLING;
gcd->cb = cb;
gcd->cb_data = cbd->data;
+
+ ipdpact_notifier(result, gc);
return;
}
gcd->state = STATE_ENABLING;
gcd->cb = cb;
gcd->cb_data = cbd->data;
+
+ ipdpact_notifier(result, gc);
return;
}
snprintf(buf, sizeof(buf), "AT%%IPDPACT=%u,1", gcd->active_context);
- if (g_at_chat_send(gcd->chat, buf, none_prefix,
+ if (g_at_chat_send(gcd->chat, buf, ipdpact_prefix,
ipdpact_up_cb, ncbd, g_free) > 0)
return;
snprintf(buf, sizeof(buf), "AT%%IPDPACT=%u,0", cid);
- if (g_at_chat_send(gcd->chat, buf, none_prefix,
+ if (g_at_chat_send(gcd->chat, buf, ipdpact_prefix,
ipdpact_down_cb, cbd, g_free) > 0)
return;