AVP 8 (Vendor Name) should NOT have M-bit set according to RFC
This commit is contained in:
parent
702ed1ec72
commit
81f807eba0
1 changed files with 2 additions and 2 deletions
4
l2tpns.c
4
l2tpns.c
|
|
@ -4885,7 +4885,7 @@ void processudp(uint8_t *buf, int len, struct sockaddr_in *addr, uint16_t indexu
|
|||
LOG(3, s, t, "sending SCCCN to REMOTE LNS\n");
|
||||
controlt *c = controlnew(3); // sending SCCCN
|
||||
controls(c, 7, config->multi_n_hostname[tunnel[t].indexudp][0]?config->multi_n_hostname[tunnel[t].indexudp]:hostname, 1); // host name
|
||||
controls(c, 8, Vendor_name, 1); // Vendor name
|
||||
controls(c, 8, Vendor_name, 0); // Vendor name
|
||||
control16(c, 2, version, 1); // protocol version
|
||||
control32(c, 3, 3, 1); // framing Capabilities
|
||||
if (sendchalresponse) controlb(c, 13, sendchalresponse, 16, 1); // Challenge response
|
||||
|
|
@ -8815,7 +8815,7 @@ void lac_send_SCCRQ(tunnelidt t, uint8_t * auth, unsigned int auth_len)
|
|||
// Sent SCCRQ - Start Control Connection Request
|
||||
controlt *c = controlnew(1); // sending SCCRQ
|
||||
controls(c, 7, config->multi_n_hostname[tunnel[t].indexudp][0]?config->multi_n_hostname[tunnel[t].indexudp]:hostname, 1); // host name
|
||||
controls(c, 8, Vendor_name, 1); // Vendor name
|
||||
controls(c, 8, Vendor_name, 0); // Vendor name
|
||||
control16(c, 2, version, 1); // protocol version
|
||||
control32(c, 3, 3, 1); // framing Capabilities
|
||||
control16(c, 9, t, 1); // assigned tunnel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue