summaryrefslogtreecommitdiffstats
path: root/listen/ripdump.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-06-05 15:34:49 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-05-02 18:16:06 +0200
commit695e3efd921dac7848066b6b64ef5e2ebbe7f526 (patch)
treebc2aa281544b5f25004c10e1faec7b426b5e3a29 /listen/ripdump.c
parent6276436bfa71fb22c4cb2ff09faa8d75e4c473a1 (diff)
Reformat consistently. Strictly whitespace changes only.
Indentation by tabs only. Move case labels in switches are on the same level as the switch keyword. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'listen/ripdump.c')
-rw-r--r--listen/ripdump.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/listen/ripdump.c b/listen/ripdump.c
index 45d146b..117ca02 100644
--- a/listen/ripdump.c
+++ b/listen/ripdump.c
@@ -38,18 +38,18 @@
#include "listen.h"
-#define RIP_VERSION_2 2
-#define RIP_VERSION_98 98
+#define RIP_VERSION_2 2
+#define RIP_VERSION_98 98
-#define RIP_HEADER 4
-#define RIP_ENTRY 20
+#define RIP_HEADER 4
+#define RIP_ENTRY 20
-#define RIP_AF_INET 2 /* IP Family */
+#define RIP_AF_INET 2 /* IP Family */
-#define RIPCMD_REQUEST 1 /* want info */
-#define RIPCMD_RESPONSE 2 /* responding to request */
+#define RIPCMD_REQUEST 1 /* want info */
+#define RIPCMD_RESPONSE 2 /* responding to request */
-#define RIP98_ENTRY 6
+#define RIP98_ENTRY 6
static struct mask_struct {
unsigned int mask;
@@ -88,7 +88,7 @@ static struct mask_struct {
0xE0000000, 3}, {
0xC0000000, 2}, {
0x80000000, 1}, {
-0x00000000, 0},};
+ 0x00000000, 0},};
static unsigned int mask2width(unsigned int mask)
{