nftables icon indicating copy to clipboard operation
nftables copied to clipboard

[FIX]fix GetRule method https://github.com/google/nftables/issues/114…

Open randolphcyg opened this issue 4 years ago • 3 comments

… && add GetTable GetChain method

randolphcyg avatar Nov 22 '21 07:11 randolphcyg

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

stapelberg avatar Nov 22 '21 08:11 stapelberg

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

randolphcyg avatar Nov 22 '21 13:11 randolphcyg

hey, could you help me check it again? tks

randolphcyg avatar Nov 25 '21 02:11 randolphcyg