From: Ian Jackson Date: Tue, 14 May 2019 23:23:47 +0000 (+0100) Subject: site: Make return value of transforms be an enum X-Git-Tag: v0.4.4~13 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/secnet/commitdiff_plain/14f78812a935c8f050f12112c19f359eb12f0686?hp=14f78812a935c8f050f12112c19f359eb12f0686 site: Make return value of transforms be an enum We are going to need to distinguish more cases. It was always bad to have these hardcoded values. transform_apply_seqrange is, right now, returned even when the problem is that the packet is recent but is a duplicate. This is wrong. No functional change. Signed-off-by: Ian Jackson ---