BString: fix possible infinite loop in _DoReplace
ifconfig: fail with a warning if called on a non-existent interface.