Prechádzať zdrojové kódy

* Introduced optional aliveness checking of gateways. Contributed by
Alexandr S. Dubovikov.


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@5424 689a6050-402a-0410-94f2-e92a70836424

Juha Heinanen 16 rokov pred
rodič
commit
5d4d8292e6
1 zmenil súbory, kde vykonal 8 pridanie a 1 odobranie
  1. 8 1
      lib/srdb1/schema/gw.xml

+ 8 - 1
lib/srdb1/schema/gw.xml

@@ -10,7 +10,7 @@
 
 <table id="gw" xmlns:db="http://docbook.org/ns/docbook">
     <name>gw</name>
-    <version>8</version>
+    <version>9</version>
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
     <description>
         <db:para>This table contains Least Cost Routing Gateway definitions for the LCR module.
@@ -99,6 +99,13 @@
         <description>Weight of gateway within gw_grp.  Valid values are 1-254.</description>
     </column>
 
+    <column>
+        <name>ping</name>
+        <type>unsigned char</type>
+        <default>0</default>
+        <description>Is gateway eligible for aliveness check (0 = no, 1 = yes)</description>
+    </column>
+
     <column>
         <name>flags</name>
         <type>unsigned int</type>