include/netinet/arp.h: Previous network changes broke the build test (#193)

This commit is contained in:
patacongo 2020-01-31 14:23:15 -06:00 committed by GitHub
parent 4a238f2e7b
commit e86b516f9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
/****************************************************************************
* include/netinet/arp.h
*
* Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2012, 2020 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@ -43,6 +43,8 @@
#include <nuttx/config.h>
#include <stdint.h>
#include <net/if.h>
#include <nuttx/fs/ioctl.h>
/****************************************************************************
@ -81,7 +83,7 @@ struct arpreq
struct sockaddr arp_ha; /* Hardware address */
struct sockaddr arp_netmask; /* Netmask of protocol address */
uint8_t arp_flags; /* Flags */
uint8_t arp_dev[IFNAMSIZ+1]; /* Device name (zero terminated)*/
uint8_t arp_dev[IFNAMSIZ + 1]; /* Device name (zero terminated) */
};
/****************************************************************************