]>
Commit | Line | Data |
---|---|---|
52c6b0e2 DL |
1 | #!/bin/sh |
2 | ||
3 | sed -e '1istatic void bgp_debug_clear_updgrp_update_dbg(struct bgp *bgp);' -i \ | |
4 | bgpd/bgp_debug.c | |
5 | sed -e 's%^#if 0%#if 1 /* 0 */%' -i \ | |
6 | ospfd/ospf_vty.c \ | |
7 | ospf6d/ospf6_top.c \ | |
8 | # | |
9 | spatch \ | |
10 | --sp-file tools/vty_index.cocci \ | |
11 | --macro-file tools/cocci.h \ | |
12 | --all-includes -I . -I lib \ | |
13 | --use-gitgrep --dir . --in-place | |
14 | ||
15 | sed -e 's%^#if 1 /\* 0 \*/%#if 0%' -i \ | |
16 | ospfd/ospf_vty.c \ | |
17 | ospf6d/ospf6_top.c \ | |
18 | # | |
19 | sed -e '1d' -i \ | |
20 | bgpd/bgp_debug.c | |
21 |