nftables
nftables copied to clipboard
[FIX]fix GetRule method https://github.com/google/nftables/issues/114…
… && add GetTable GetChain method
The tests don’t seem to pass?
--- FAIL: TestGetTable (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x51aeae]
BTW, you don’t need to create a new pull request each time you change something, you can update an existing pull request: https://stackoverflow.com/questions/9790448/how-to-update-a-pull-request-from-forked-repo
sorry, I just added a part of the test case, I will fill it up tomorrow, and today I am still testing complex named set operations
hey, could you help me check it again? tks