summaryrefslogtreecommitdiff
path: root/proto_none.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-10-14 11:13:56 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-10-14 11:13:56 +0200
commit68bc34c0e88b6eff8279201bdc2d16dab7a4dd68 (patch)
treea9308afc1de52aee200906969bd2ee98f53ee335 /proto_none.c
parentde964cc2a201e442ddcd27f91ed6eef1a096c3b6 (diff)
csum: Remove unnecessary memset in p4_csum()
No need to memset the IPv4 pseudo header to 0 as all its members will explicitly be set. Also reorder the setting of the pseudo header to match the order of the fields. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_none.c')
0 files changed, 0 insertions, 0 deletions