--- bootpc-0.64.orig/bootpc.c
+++ bootpc-0.64/bootpc.c
@@ -331,6 +331,8 @@
   unsigned char *cookie = (unsigned char *)(bootp_recv->bp_vend) ;
   struct in_addr temp_addr, my_addr ;
 
+  temp_addr.s_addr = bootp_recv->bp_giaddr.s_addr ;
+  OutString("GATEWAY", (unsigned char *)inet_ntoa(temp_addr), -1);
   temp_addr.s_addr = bootp_recv->bp_siaddr.s_addr ;
   OutString("SERVER", (unsigned char *)inet_ntoa(temp_addr), -1);
   my_addr.s_addr = bootp_recv->bp_yiaddr.s_addr ;
@@ -676,7 +678,7 @@
 }
 
 /* Takes an address and returns useful bits of the name after lookup,
-   this was a seperate program, but it is more compact to have both
+   this was a separate program, but it is more compact to have both
    together.  17/02/94  JSP */
 
 int in2host(char *address,
