mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 02:16:58 +00:00
FEAT: Verbose boot
This commit is contained in:
@@ -1133,7 +1133,6 @@ tcp_connect(struct tcp_pcb *pcb, const ip_addr_t *ipaddr, u16_t port,
|
||||
(cpcb->remote_port == port) &&
|
||||
ip_addr_cmp(&cpcb->local_ip, &pcb->local_ip) &&
|
||||
ip_addr_cmp(&cpcb->remote_ip, ipaddr)) {
|
||||
/* linux returns EISCONN here, but ERR_USE should be OK for us */
|
||||
return ERR_USE;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ int network_init(void) {
|
||||
ipv4_address_t ip;
|
||||
network_get_ipv4_address(&ip);
|
||||
extern void serial_write(const char *str);
|
||||
serial_write("[NETWORK] IP Assigned: ");
|
||||
serial_write("[NET] IP Assigned: ");
|
||||
char buf[32];
|
||||
k_itoa(ip.bytes[0], buf); serial_write(buf); serial_write(".");
|
||||
k_itoa(ip.bytes[1], buf); serial_write(buf); serial_write(".");
|
||||
@@ -96,7 +96,7 @@ int network_init(void) {
|
||||
k_itoa(ip.bytes[3], buf); serial_write(buf); serial_write("\n");
|
||||
} else {
|
||||
extern void serial_write(const char *str);
|
||||
serial_write("[NETWORK] DHCP Failed during init\n");
|
||||
serial_write("[NET] DHCP Failed during init\n");
|
||||
}
|
||||
|
||||
// Set default DNS server (1.1.1.1)
|
||||
|
||||
Reference in New Issue
Block a user