Make more room for textual representation of MAC addresses.
For the future: make this dynamicly allocated and destroyed.
Signed-off-by: Vitezslav Samel <vitezslav(a)samel.cz>
---
src/othptab.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/othptab.h b/src/othptab.h
index 0f4d30d..71fd959 100644
--- a/src/othptab.h
+++ b/src/othptab.h
@@ -24,8 +24,8 @@ struct othptabent {
unsigned long int daddr;
struct in6_addr s6addr;
struct in6_addr d6addr;
- char smacaddr[15];
- char dmacaddr[15];
+ char smacaddr[18]; /* FIXME: use dynamicly allocated space */
+ char dmacaddr[18];
unsigned short linkproto;
char s_fqdn[100];
char d_fqdn[100];
--
1.7.8.4
Show replies by date