b9dc578442
nat64_getlasthdr() returns an int, which can be -1 in case of error, storing the result in an uint8_t and then comparing to < 0 is not helpful. Do what is done in the rest of the code and make proto an int here as well. |
||
---|---|---|
.. | ||
nat64 | ||
nptv6 | ||
test | ||
dn_aqm_codel.c | ||
dn_aqm_codel.h | ||
dn_aqm_pie.c | ||
dn_aqm_pie.h | ||
dn_aqm.h | ||
dn_heap.c | ||
dn_heap.h | ||
dn_sched_fifo.c | ||
dn_sched_fq_codel_helper.h | ||
dn_sched_fq_codel.c | ||
dn_sched_fq_codel.h | ||
dn_sched_fq_pie.c | ||
dn_sched_prio.c | ||
dn_sched_qfq.c | ||
dn_sched_rr.c | ||
dn_sched_wf2q.c | ||
dn_sched.h | ||
dummynet.txt | ||
ip_dn_glue.c | ||
ip_dn_io.c | ||
ip_dn_private.h | ||
ip_dummynet.c | ||
ip_fw2.c | ||
ip_fw_bpf.c | ||
ip_fw_dynamic.c | ||
ip_fw_eaction.c | ||
ip_fw_iface.c | ||
ip_fw_log.c | ||
ip_fw_nat.c | ||
ip_fw_pfil.c | ||
ip_fw_private.h | ||
ip_fw_sockopt.c | ||
ip_fw_table_algo.c | ||
ip_fw_table_value.c | ||
ip_fw_table.c | ||
ip_fw_table.h |