+
+ case 2: // Async-Control-Character-Map
+ if (!ntohl(*(u32 *)(o + 2))) // all bits zero is OK
+ break;
+
+ if (response && response != ConfigNak) // rej already queued
+ break;
+
+ LOG(2, session[s].ip, s, t, " Remote requesting asyncmap. Rejecting.\n");
+ if (!response)
+ {
+ q = makeppp(b, sizeof(b), p, l, t, s, PPPLCP);
+ if (!q)
+ {
+ LOG(2, session[s].ip, s, t, " Failed to send packet.\n");
+ break;
+ }
+ response = *q++ = ConfigNak;
+ }
+ *q++ = type;
+ *q++ = 6;
+ memset(q, 0, 4); // asyncmap 0
+ q += 4;
+ break;
+