Changeset 3599


Ignore:
Timestamp:
2006-04-08T03:31:31+02:00 (12 years ago)
Author:
nico
Message:

Fixes for udhcpc:

  • quit when receiving SIGTERM and the -R option is used
  • don't pass the requested ip address option when sending DHCPRELEASE request
Location:
branches/whiterussian/openwrt/package/busybox/patches
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/whiterussian/openwrt/package/busybox/patches/150-udhcp-release.patch

    r1112 r3599  
    6969                                                client_background(); 
    7070  
    71 @@ -498,12 +507,13 @@ 
     71@@ -498,12 +507,14 @@ 
    7272                        case SIGUSR1: 
    7373                                perform_renew(); 
     
    7878                        case SIGTERM: 
    7979                                LOG(LOG_INFO, "Received SIGTERM"); 
    80 +                               if (!client_config.release_on_quit) 
     80+                               if (client_config.release_on_quit) 
     81+                                       perform_release(); 
    8182                                return 0; 
    8283+                       case SIGUSR2: 
Note: See TracChangeset for help on using the changeset viewer.