summaryrefslogtreecommitdiffstats
path: root/src/tuntap.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-08-24 21:06:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-08-24 21:06:09 +0200
commit9855a34f48acf6ae3aaeba9ec37756da41507e64 (patch)
treea02c2a507b3d536182d81e78b878b6b29c617cb9 /src/tuntap.c
parent1ae3aae35193dce25e5534b12a46011ec7912bb4 (diff)
downloadfastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.tar
fastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.zip
Coding style: always add a space between a pointer's type and the *
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) {