Skip to content

Commit 12d82b7

Browse files
authored
Merge pull request #183 from rosslagerwall/CA-347400
CA-347400: Pass lease file when stopping dhclient
2 parents 45b58a5 + 8466947 commit 12d82b7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/network_utils.ml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,14 @@ end = struct
976976
try
977977
ignore
978978
(call_script dhclient
979-
["-r"; "-pf"; pid_file ~ipv6 interface; interface]) ;
979+
[
980+
"-r"
981+
; "-pf"
982+
; pid_file ~ipv6 interface
983+
; "-lf"
984+
; lease_file ~ipv6 interface
985+
; interface
986+
]) ;
980987
Unix.unlink (pid_file ~ipv6 interface)
981988
with _ -> ()
982989

0 commit comments

Comments
 (0)