summaryrefslogtreecommitdiffstats
path: root/src/tuntap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tuntap.c')
-rw-r--r--src/tuntap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tuntap.c b/src/tuntap.c
index 6281405..e35858e 100644
--- a/src/tuntap.c
+++ b/src/tuntap.c
@@ -379,7 +379,7 @@ void fastd_tuntap_handle(void) {
/** Writes a packet to the TUN/TAP device */
void fastd_tuntap_write(fastd_buffer_t buffer) {
if (multiaf_tun && conf.mode == MODE_TUN) {
- uint8_t version = *((uint8_t*)buffer.data) >> 4;
+ uint8_t version = *((uint8_t *)buffer.data) >> 4;
uint32_t af;
switch (version) {