Browse Source

Close UDP connection when DHCP completes.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
60a3f77711
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/net/udp/dhcp.c

+ 3
- 0
src/net/udp/dhcp.c View File

506
 		}
506
 		}
507
 	}
507
 	}
508
 
508
 
509
+	/* Close UDP connection */
510
+	udp_close ( &dhcp->udp );
511
+
509
 	/* Mark async operation as complete */
512
 	/* Mark async operation as complete */
510
 	async_done ( &dhcp->aop, rc );
513
 	async_done ( &dhcp->aop, rc );
511
 }
514
 }

Loading…
Cancel
Save