Skip to content

Instantly share code, notes, and snippets.

View gwydirsam's full-sized avatar

Sam Gwydir gwydirsam

View GitHub Profile
diff --git a/netdumpd.c b/netdumpd.c
index 4d84ba8..d6e52de 100644
--- a/netdumpd.c
+++ b/netdumpd.c
@@ -1057,7 +1057,7 @@ init_cap_mode(void)
goto err;
}
limits = nvlist_create(0);
- nvlist_add_string(limits, "type", "NAME");
+ nvlist_add_string(limits, "type", "ADDR2NAME");
#include <stdlib.h>
#include <string.h>
struct stack {
char c;
struct stack* next;
};
// push puts c at the top of the stack O(1)
// push changes head to point to the new top of the stack

Keybase proof

I hereby claim:

  • I am gwydirsam on github.
  • I am gwydirsam (https://keybase.io/gwydirsam) on keybase.
  • I have a public key whose fingerprint is 2E46 92DD 72E6 9674 2AE1 FA3D 67AE 23F7 727E 265D

To claim this, I am signing this object: