Added more error checking, cleaned up the code
-rw-r--r-- 20 .gitignore
-rw-r--r-- 552 Makefile
-rw-r--r-- 10015 main.c
-rw-r--r-- 2043 tethering.sh