Ignore:
File:
1 edited

Legend:

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

    r44c9ef4 r5a324d99  
    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.