now automatically gets the interface

This commit is contained in:
Nicholas O'Brien
2019-04-14 20:19:20 -07:00
parent 3f1fd8dfa7
commit ff698a5695
2 changed files with 68 additions and 17 deletions

View File

@@ -56,4 +56,5 @@ void send_status(unsigned char *buf, char *payload);
void sigint(int signum);
void ip_checksum(struct iphdr *ip);
void udp_checksum(struct iphdr *ip, unsigned short *payload);
void get_interface_name(char iface[]);
#endif