Ignore:
File:
1 edited

Legend:

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

    r5a324d99 r44c9ef4  
    4444#include <mem.h>
    4545#include <stdlib.h>
     46#include <net/socket_codes.h>
    4647#include "inetsrv.h"
    4748#include "inet_std.h"
     
    532533int ndp_pdu_decode(inet_dgram_t *dgram, ndp_packet_t *ndp)
    533534{
    534         ip_ver_t src_ver = inet_addr_get(&dgram->src, NULL,
     535        uint16_t src_af = inet_addr_get(&dgram->src, NULL,
    535536            &ndp->sender_proto_addr);
    536         if (src_ver != ip_v6)
     537        if (src_af != AF_INET6)
    537538                return EINVAL;
    538539       
Note: See TracChangeset for help on using the changeset viewer.