Fix fragment error
Add stub for virtual interfaces of data packet
This commit is contained in:
@ -557,7 +557,7 @@ int sc_capwap_forwarddata(struct sc_capwap_session* session, uint8_t radioid, ui
|
||||
}
|
||||
|
||||
/* */
|
||||
header = (struct sc_capwap_header*)((uint8_t*)header + (size + length));
|
||||
header = (struct sc_capwap_header*)(((uint8_t*)header + size + length) - sizeof(struct sc_capwap_header));
|
||||
fragmentoffset += length;
|
||||
packetlength -= length;
|
||||
}
|
||||
|
Reference in New Issue
Block a user