Project

General

Profile

Bug #9267 » dhclient-patch.txt

Nash Kaminski, 01/10/2019 07:38 PM

 
1
Index: sbin/dhclient/dhclient.c
2
===================================================================
3
--- sbin/dhclient/dhclient.c	(revision 342377)
4
+++ sbin/dhclient/dhclient.c	(working copy)
5
@@ -2316,7 +2316,7 @@
6
 	if (ip)
7
 		script_flush_env(ip->client);
8
 
9
-	return (wstatus & 0xff);
10
+	return WEXITSTATUS(wstatus);
11
 }
12
 
13
 void
(2-2/2)