In Bug 78, shortkey points out:
[oweals/busybox.git] / networking / ipcalc.c
index 5bf07c6753d24234c703ee857b907603cf85ff51..bcd272b8544e848ce0d27c74662749982b8e21d8 100644 (file)
@@ -5,8 +5,8 @@
  * By Jordan Crouse <jordan@cosmicpenguin.net>
  *    Stephan Linz  <linz@li-pro.net>
  *
- * This is a complete reimplentation of the ipcalc program
- * from Redhat.  I didn't look at their source code, but there
+ * This is a complete reimplementation of the ipcalc program
+ * from Red Hat.  I didn't look at their source code, but there
  * is no denying that this is a loving reimplementation
  */
 
@@ -68,10 +68,10 @@ int ipcalc_main(int argc, char **argv)
 {
        unsigned long mode;
 
-       unsigned long netmask;
-       unsigned long broadcast;
-       unsigned long network;
-       unsigned long ipaddr;
+       in_addr_t netmask;
+       in_addr_t broadcast;
+       in_addr_t network;
+       in_addr_t ipaddr;
        struct in_addr a;
 
 #ifdef CONFIG_FEATURE_IPCALC_FANCY