summaryrefslogtreecommitdiff
path: root/proto/bfd
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2013-11-22 21:59:43 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2013-11-22 21:59:43 +0100
commit41f8bf57c4d80cbec89b90b901afa9df4d2d76f1 (patch)
tree394b8681a159ef61fdacfc3b393d5b2d71733486 /proto/bfd
parent56027b5cbd7f432d30f7fc99bcf8680c840e6163 (diff)
Changes identifiers to avoid use of reserved ones.
Diffstat (limited to 'proto/bfd')
-rw-r--r--proto/bfd/bfd.h6
-rw-r--r--proto/bfd/io.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/proto/bfd/bfd.h b/proto/bfd/bfd.h
index f4ab3fcc..9b61be64 100644
--- a/proto/bfd/bfd.h
+++ b/proto/bfd/bfd.h
@@ -28,9 +28,9 @@
#define BFD_ECHO_PORT 3785
#define BFD_MULTI_CTL_PORT 4784
-#define BFD_DEFAULT_MIN_RX_INT (10 _MS)
-#define BFD_DEFAULT_MIN_TX_INT (100 _MS)
-#define BFD_DEFAULT_IDLE_TX_INT (1 _S)
+#define BFD_DEFAULT_MIN_RX_INT (10 MS_)
+#define BFD_DEFAULT_MIN_TX_INT (100 MS_)
+#define BFD_DEFAULT_IDLE_TX_INT (1 S_)
#define BFD_DEFAULT_MULTIPLIER 5
diff --git a/proto/bfd/io.h b/proto/bfd/io.h
index 3f166a47..641ee054 100644
--- a/proto/bfd/io.h
+++ b/proto/bfd/io.h
@@ -75,7 +75,7 @@ static inline void
tm2_start_max(timer2 *t, btime after)
{
btime rem = tm2_remains(t);
- tm2_start(t, _MAX(rem, after));
+ tm2_start(t, MAX_(rem, after));
}
*/