summaryrefslogtreecommitdiffstats
path: root/ax25ipd
diff options
context:
space:
mode:
Diffstat (limited to 'ax25ipd')
-rw-r--r--ax25ipd/ax25ipd.c2
-rw-r--r--ax25ipd/crc.c4
-rw-r--r--ax25ipd/routing.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/ax25ipd/ax25ipd.c b/ax25ipd/ax25ipd.c
index b1786f5..f664e2e 100644
--- a/ax25ipd/ax25ipd.c
+++ b/ax25ipd/ax25ipd.c
@@ -166,7 +166,7 @@ int main(int argc, char **argv)
/* and let the games begin */
io_start();
- return (0);
+ return 0;
}
diff --git a/ax25ipd/crc.c b/ax25ipd/crc.c
index d132968..c6d8eea 100644
--- a/ax25ipd/crc.c
+++ b/ax25ipd/crc.c
@@ -77,7 +77,7 @@ u16 pppfcs(u16 fcs, unsigned char *cp, int len)
while (len--)
fcs = (fcs >> 8) ^ fcstab[(fcs ^ *cp++) & 0xff];
- return (fcs);
+ return fcs;
}
/*
@@ -108,7 +108,7 @@ int ok_crc(unsigned char *buf, int l)
fcs = PPPINITFCS;
fcs = pppfcs(fcs, buf, l);
- return (fcs == PPPGOODFCS);
+ return fcs == PPPGOODFCS;
}
/*
diff --git a/ax25ipd/routing.c b/ax25ipd/routing.c
index 4c3faed..1aca2b0 100644
--- a/ax25ipd/routing.c
+++ b/ax25ipd/routing.c
@@ -195,7 +195,7 @@ int is_call_bcast(unsigned char *call)
int i;
if (call == NULL)
- return (FALSE);
+ return FALSE;
for (i = 0; i < 6; i++)
bccall[i] = call[i] & 0xfe;
@@ -209,11 +209,11 @@ int is_call_bcast(unsigned char *call)
if (addrmatch(bccall, bp->callsign)) {
LOGL4("found broadcast %s\n",
call_to_a(bp->callsign));
- return (TRUE);
+ return TRUE;
}
bp = bp->next;
}
- return (FALSE);
+ return FALSE;
}
/* Traverse the routing table, transmitting the packet to each bcast route */