Commit 2abec349 authored by Jonathon Duerig's avatar Jonathon Duerig

Fix: Needs to return 0 on success. Fixed inconsistency about whether...

Fix: Needs to return 0 on success. Fixed inconsistency about whether ofcontroller is a text or int field.
parent c8841ba7
......@@ -17,10 +17,11 @@ sub DoUpdate($$$)
}
DBQueryFatal("REPLACE INTO table_regex VALUES" .
" ('virt_lans', 'ofenabled', 'int', 'redirect', ".
" 'default:boolean', 0,0,NULL)");
" 'default:boolean', 0,0,NULL);");
DBQueryFatal("REPLACE INTO table_regex VALUES" .
" ('virt_lans', 'ofcontroller', 'int', 'redirect', ".
" 'default:tinytext', 0,0,NULL)");
" ('virt_lans', 'ofcontroller', 'text', 'redirect', ".
" 'default:tinytext', 0,0,NULL);");
return 0;
}
1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment