]> the.earth.li Git - onak.git/blobdiff - sixdegrees.c
Add ability to drop overly large packets
[onak.git] / sixdegrees.c
index b806c3e50f59a9cb1431e46a646e628a19f3cbde..214be63e6e0530dc5a8b4dac5574394b192e084e 100644 (file)
@@ -13,8 +13,7 @@
  * more details.
  *
  * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * this program.  If not, see <https://www.gnu.org/licenses/>.
  */
 
 #include <getopt.h>
@@ -158,7 +157,7 @@ int main(int argc, char *argv[])
        readconfig(configfile);
        free(configfile);
        initlogthing("sixdegrees", config.logfile);
-       dbctx = config.dbinit(true);
+       dbctx = config.dbinit(config.backend, true);
        if (dbctx != NULL) {
                inithash();
                sixdegrees(dbctx, dbctx->getfullkeyid(dbctx, keyid));