Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nat46-module: fix compilation with kernel 5.6
proc_create() now takes a struc proc_ops instead of a struct file_operations. Fortunately the member functions of both these structs have the same prototypes so we can just define nat46_proc_fops differently for newer kernels. Fixes #13 Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
- Loading branch information