about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2019-12-15 02:28:11 +0000
committerAlyssa Ross <hi@alyssa.is>2019-12-15 02:28:11 +0000
commit828117fd18b3cf84390e9f9e622320ff34fd530f (patch)
treedfd2e8595adc4bbfcf040f4ee55078391f21da2c
parentd5e98a371a3f6bbef89f4c79ddad9d29d435b978 (diff)
downloadmktuntap-828117fd18b3cf84390e9f9e622320ff34fd530f.tar
mktuntap-828117fd18b3cf84390e9f9e622320ff34fd530f.tar.gz
mktuntap-828117fd18b3cf84390e9f9e622320ff34fd530f.tar.bz2
mktuntap-828117fd18b3cf84390e9f9e622320ff34fd530f.tar.lz
mktuntap-828117fd18b3cf84390e9f9e622320ff34fd530f.tar.xz
mktuntap-828117fd18b3cf84390e9f9e622320ff34fd530f.tar.zst
mktuntap-828117fd18b3cf84390e9f9e622320ff34fd530f.zip
Add TODO file
-rw-r--r--TODO4
-rw-r--r--mktap.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..fbf2e63
--- /dev/null
+++ b/TODO
@@ -0,0 +1,4 @@
+* Give choice between tun/tap with -n | -p (like tunctl), and rename
+  to mktuntap
+* Make ifr_name optional with -i (default to tap%d/tun%d)
+* Reimplement tap_alloc for compatibility with newer GPLs
diff --git a/mktap.c b/mktap.c
index 4d6849d..c6b96d0 100644
--- a/mktap.c
+++ b/mktap.c
@@ -64,7 +64,6 @@ int main(int argc, char **argv)
 	}
 
 	// ifr_name is a macro, so add a trailing _.
-	// TODO: ifr_name should probably be optional (-i, defaulting to tap%d)?
 	char *ifr_name_ = calloc(IFNAMSIZ, sizeof(char));
 	if (strlen(argv[1]) > IFNAMSIZ - 1) {
 		fprintf(stderr, "mktap: ifr_name too long (max %i)\n", IFNAMSIZ - 1);