Changeset 0c2d9bb in mainline for uspace/srv/net/inetsrv/pdu.c


Ignore:
Timestamp:
2013-12-25T22:54:29Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b51cf2c
Parents:
f7a33de (diff), ac36aed (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/inetsrv/pdu.c

    rf7a33de r0c2d9bb  
    4444#include <mem.h>
    4545#include <stdlib.h>
    46 #include <net/socket_codes.h>
    4746#include "inetsrv.h"
    4847#include "inet_std.h"
     
    533532int ndp_pdu_decode(inet_dgram_t *dgram, ndp_packet_t *ndp)
    534533{
    535         uint16_t src_af = inet_addr_get(&dgram->src, NULL,
     534        ip_ver_t src_ver = inet_addr_get(&dgram->src, NULL,
    536535            &ndp->sender_proto_addr);
    537         if (src_af != AF_INET6)
     536        if (src_ver != ip_v6)
    538537                return EINVAL;
    539538       
Note: See TracChangeset for help on using the changeset viewer.