Rx: Remove last remnants of DJGPP support
authorJeffrey Altman <jaltman@your-file-system.com>
Fri, 15 Jan 2010 14:00:41 +0000 (09:00 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Fri, 15 Jan 2010 14:24:38 +0000 (06:24 -0800)
DJGPP code just clutters the AFS_NT40_ENV specific code
but is never built.

Change-Id: I90192bb5cf35239fdbbeaa28f85d1381162f3bae
Reviewed-on: http://gerrit.openafs.org/1106
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

src/rx/rx_user.c

index 0516457..167b9c7 100644 (file)
@@ -326,15 +326,6 @@ rx_getAllAddr(afs_uint32 * buffer, int maxSize)
     /* The IP address list can change so we must query for it */
     rx_GetIFInfo();
 
-#ifdef AFS_DJGPP_ENV
-    /* we don't want to use the loopback adapter which is first */
-    /* this is a bad bad hack.
-     * and doesn't hold true on Windows.
-     */
-    if ( rxi_numNetAddrs > 1 )
-        offset = 1;
-#endif /* AFS_DJGPP_ENV */
-
     for (count = 0; offset < rxi_numNetAddrs && maxSize > 0;
         count++, offset++, maxSize--)
        buffer[count] = htonl(rxi_NetAddrs[offset]);
@@ -356,15 +347,6 @@ rx_getAllAddrMaskMtu(afs_uint32 addrBuffer[], afs_uint32 maskBuffer[],
     /* The IP address list can change so we must query for it */
     rx_GetIFInfo();
 
-#ifdef AFS_DJGPP_ENV
-    /* we don't want to use the loopback adapter which is first */
-    /* this is a bad bad hack.
-     * and doesn't hold true on Windows.
-     */
-    if ( rxi_numNetAddrs > 1 )
-        offset = 1;
-#endif /* AFS_DJGPP_ENV */
-
     for (count = 0; 
          offset < rxi_numNetAddrs && maxSize > 0;
          count++, offset++, maxSize--) {