diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-22 14:52:33 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-22 14:52:33 +0200 | 
| commit | 9d303b37d73b8fe2bef310d8d9ca1acad23c2501 (patch) | |
| tree | bbe78c595bd8f42b76322df2a37cf81f60c08a6a /isisd/isis_pfpacket.c | |
| parent | dceb5f8ac71a839389786f5040a50b8feec30156 (diff) | |
Revert "*: reindent pt. 2"
This reverts commit c14777c6bfd0a446c85243d3a9835054a259c276.
clang 5 is not widely available enough for people to indent with.  This
is particularly problematic when rebasing/adjusting branches.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_pfpacket.c')
| -rw-r--r-- | isisd/isis_pfpacket.c | 21 | 
1 files changed, 11 insertions, 10 deletions
diff --git a/isisd/isis_pfpacket.c b/isisd/isis_pfpacket.c index e5752e31f6..e24901b0de 100644 --- a/isisd/isis_pfpacket.c +++ b/isisd/isis_pfpacket.c @@ -47,16 +47,17 @@  extern struct zebra_privs_t isisd_privs;  /* tcpdump -i eth0 'isis' -dd */ -static struct sock_filter isisfilter[] = { -	/* NB: we're in SOCK_DGRAM, so src/dst mac + length are stripped -	 * off! -	 * (OTOH it's a bit more lower-layer agnostic and might work -	 * over GRE?) */ -	/*	{ 0x28, 0, 0, 0x0000000c - 14 }, */ -	/*	{ 0x25, 5, 0, 0x000005dc }, */ -	{0x28, 0, 0, 0x0000000e - 14}, {0x15, 0, 3, 0x0000fefe}, -	{0x30, 0, 0, 0x00000011 - 14}, {0x15, 0, 1, 0x00000083}, -	{0x6, 0, 0, 0x00040000},       {0x6, 0, 0, 0x00000000}, +static struct sock_filter isisfilter[] = +	{ +		/* NB: we're in SOCK_DGRAM, so src/dst mac + length are stripped +		 * off! +		 * (OTOH it's a bit more lower-layer agnostic and might work +		 * over GRE?) */ +		/*	{ 0x28, 0, 0, 0x0000000c - 14 }, */ +		/*	{ 0x25, 5, 0, 0x000005dc }, */ +		{0x28, 0, 0, 0x0000000e - 14}, {0x15, 0, 3, 0x0000fefe}, +		{0x30, 0, 0, 0x00000011 - 14}, {0x15, 0, 1, 0x00000083}, +		{0x6, 0, 0, 0x00040000},       {0x6, 0, 0, 0x00000000},  };  static struct sock_fprog bpf = {  | 
