Merge origin/netpush (networking code) (XCC)
[akaros.git] / kern / src / eth_audio.c
index cd5b1e7..f5d20db 100644 (file)
@@ -102,7 +102,7 @@ static void eth_audio_prep_response(struct ethaud_udp_packet *incoming,
        outgoing->ip_hdr.dst_addr = incoming->ip_hdr.src_addr;
        /* Since the IP header is set already, we can compute the checksum. */
        outgoing->ip_hdr.checksum = 0;
-       outgoing->ip_hdr.checksum = (ip_checksum(&outgoing->ip_hdr);
+       outgoing->ip_hdr.checksum = ip_checksum(&outgoing->ip_hdr);
        outgoing->udp_hdr.src_port = htons(ETH_AUDIO_SRC_PORT);
        outgoing->udp_hdr.dst_port = htons(ETH_AUDIO_DST_PORT);
        outgoing->udp_hdr.length = htons(ETH_AUDIO_PAYLOAD_SZ + UDP_HDR_SZ);