summaryrefslogtreecommitdiff
path: root/nuttx/arch/sim/src/up_uipdriver.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/sim/src/up_uipdriver.c')
-rw-r--r--nuttx/arch/sim/src/up_uipdriver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/arch/sim/src/up_uipdriver.c b/nuttx/arch/sim/src/up_uipdriver.c
index a3f641a36..6f465feca 100644
--- a/nuttx/arch/sim/src/up_uipdriver.c
+++ b/nuttx/arch/sim/src/up_uipdriver.c
@@ -235,6 +235,7 @@ int uipdriver_init(void)
timer_set(&g_periodic_timer, 500);
timer_set(&g_arp_timer, 10000 );
tapdev_init();
+ (void)tapdev_getmacaddr(g_sim_dev.d_mac.addr);
/* Register the device with the OS so that socket IOCTLs can be performed */