aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dev_armada/pp2/port.c
diff options
context:
space:
mode:
authorKlement Sekera <klement.sekera@gmail.com>2024-10-23 19:05:17 +0200
committerMatthew Smith <mgsmith@netgate.com>2024-10-23 20:58:15 +0000
commit602d11019bf76e8f4ad73b4b928bbf4ac3becfdc (patch)
treebc4b9313daab7f1849d93b7508d50fe838e448c0 /src/plugins/dev_armada/pp2/port.c
parent3d5670302755ffab3907826cd5afd31e411c1b87 (diff)
ip: fix port extraction
Replace a hard-coded constant of 64 with 56, which is a more appropriate value for when ICMP echo request is returned in ICMP error. Previously, the size of such message would be smaller than 64 and parsing would not return the correct value. Type: fix Change-Id: I1bdf8a2a23b1e6762b64210c71927c926f4547ad Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
Diffstat (limited to 'src/plugins/dev_armada/pp2/port.c')
0 files changed, 0 insertions, 0 deletions