Commit 055e1825 authored by David Johnson's avatar David Johnson

Fix so that if a user sets a per-node lan setting, it can override

an interface_setting that was set from the lan itself (i.e., convert an
insert to a replace sql stmt).  Necessary so that our wifi docs
aren't lying...
parent 6fe73ab1
......@@ -2680,7 +2680,7 @@ foreach $lan (keys(%virt_lans)) {
" member='$member'");
while (my ($capkey,$capval) = $query_result->fetchrow_array()) {
DBQueryFatal("insert into interface_settings ".
DBQueryFatal("replace into interface_settings ".
" (node_id, iface, capkey, capval) ".
"values ('$pnode', '$pport', '$capkey', '$capval')");
......
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