diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-06-05 00:57:41 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-05-02 18:16:05 +0200 |
commit | 904e050aa0f4250adc7b7f8125000ef26715abef (patch) | |
tree | f38147b4719f02e54c53a0ad311c3715b2cf0057 /ax25ipd/bpqether.c | |
parent | 3ba8bfeddb7af74a874661bc0289415d35b1d407 (diff) |
Nuke trailing whitespace.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25ipd/bpqether.c')
-rw-r--r-- | ax25ipd/bpqether.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ax25ipd/bpqether.c b/ax25ipd/bpqether.c index 1c2805b..ba675de 100644 --- a/ax25ipd/bpqether.c +++ b/ax25ipd/bpqether.c @@ -68,7 +68,7 @@ int send_bpq(unsigned char *buf, int l) int offset = ETHERTAP_HEADER_LEN_MAX - ethertap_header_len; static const unsigned char ethernet_header[18] = { - 0x00, 0x00, 0x00, 0x02, /* ??? ??? ETH_P_AX25 (16bit) */ + 0x00, 0x00, 0x00, 0x02, /* ??? ??? ETH_P_AX25 (16bit) */ 0xfe, 0xfd, 0x00, 0x00, 0x00, 0x00, /* Destination address (kernel et hertap module) */ 0xfe, 0xfe, 0x00, 0x00, 0x00, 0x00, /* Source address (WAMPES etherta @@ -161,7 +161,7 @@ static int tun_alloc(char *dev) #endif return fd; -} +} #endif /*---------------------------------------------------------------------------*/ @@ -176,7 +176,7 @@ int open_ethertap(char *ifname) int tuntap = 0; int mtu = 0; int skfd; - + strcpy(devname, "/dev/"); strncpy(devname + 5, ifname, sizeof(devname) - 5 -1); devname[sizeof(devname) -1] = 0; |