Add TODO
This commit is contained in:
parent
4b42ce2dbe
commit
170a31bae7
|
@ -11,6 +11,8 @@ pub struct Response {
|
|||
}
|
||||
|
||||
impl Response {
|
||||
// TODO: parse IP header with length > 5 and additional options.
|
||||
//
|
||||
pub fn parse(source: &SockaddrInx, body: &[u8]) -> Option<Self> {
|
||||
if body.len() < 2 * (20 /* IP header */ + 8 /* ICMP header */) {
|
||||
return None
|
||||
|
|
Reference in New Issue