Selaa lähdekoodia

Close UDP connection when DHCP completes.

tags/v0.9.3
Michael Brown 19 vuotta sitten
vanhempi
commit
60a3f77711
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3
    0
      src/net/udp/dhcp.c

+ 3
- 0
src/net/udp/dhcp.c Näytä tiedosto

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…
Peruuta
Tallenna